aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/out_odt.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2022-03-24 12:38:41 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2022-04-03 18:13:50 -0400
commite2424c06d3bfa552f35fb288429c3ef4e5357cc7 (patch)
treec1d8aefd2ce9acc7760a4eb9dbef1eea3afa3c66 /org/out_odt.org
parentlatex, pagebreaks, make headers, consider (diff)
latex output (try tidy); linebreaks more generally
Diffstat (limited to 'org/out_odt.org')
-rw-r--r--org/out_odt.org8
1 files changed, 4 insertions, 4 deletions
diff --git a/org/out_odt.org b/org/out_odt.org
index a7f490a..3b23e23 100644
--- a/org/out_odt.org
+++ b/org/out_odt.org
@@ -699,7 +699,7 @@ string _font_face(string _txt){
- only double newlines (paragraph delimiter), (not line breaks, single new lines)
- no hard space indentation
+/
- string[] _block_lines = (_o_txt_odt).split(rgx.br_newlines_linebreaks);
+ string[] _block_lines = (_o_txt_odt).split(rgx.br_linebreaks_newlines);
_o_txt_odt = _block_type_delimiters(_block_lines, obj);
return _o_txt_odt;
}
@@ -729,7 +729,7 @@ string _font_face(string _txt){
assert(obj.metainfo.is_of_type == "block");
assert(obj.metainfo.is_a == "block");
string _o_txt_odt = markup(obj);
- string[] _block_lines = (_o_txt_odt).split(rgx.br_newlines_linebreaks);
+ string[] _block_lines = (_o_txt_odt).split(rgx.br_linebreaks_newlines);
_o_txt_odt = _block_type_delimiters(_block_lines, obj);
return _o_txt_odt;
}
@@ -752,7 +752,7 @@ string _font_face(string _txt){
assert(obj.metainfo.is_of_type == "block");
assert(obj.metainfo.is_a == "verse");
string _o_txt_odt = markup(obj);
- string[] _block_lines = (_o_txt_odt).split(rgx.br_newlines_linebreaks);
+ string[] _block_lines = (_o_txt_odt).split(rgx.br_linebreaks_newlines);
_o_txt_odt = _block_type_delimiters(_block_lines, obj);
return _o_txt_odt;
}
@@ -778,7 +778,7 @@ string _font_face(string _txt){
- "^[ ]" &#160;
- count number only at beginning of line and replace each
+/
- string[] _block_lines = (_o_txt_odt).split(rgx.br_newlines_linebreaks);
+ string[] _block_lines = (_o_txt_odt).split(rgx.br_linebreaks_newlines);
string _block = "";
foreach (i, _line; _block_lines) {
if (i == 1) {