aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/io_out/sqlite.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2022-02-09 18:07:14 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2022-02-09 18:07:24 -0500
commitafca0c72801ec0256adc6f9a318ff00f0097e056 (patch)
tree02257f631561478cc1595b14bb7590da4d890403 /src/doc_reform/io_out/sqlite.d
parentxmls, copyright and license display (diff)
sqlite, html lite breakline related
Diffstat (limited to 'src/doc_reform/io_out/sqlite.d')
-rw-r--r--src/doc_reform/io_out/sqlite.d4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/doc_reform/io_out/sqlite.d b/src/doc_reform/io_out/sqlite.d
index 4281609..f79a66e 100644
--- a/src/doc_reform/io_out/sqlite.d
+++ b/src/doc_reform/io_out/sqlite.d
@@ -242,6 +242,8 @@ template SQLiteFormatAndLoadObject() {
.replaceAll(rgx.xhtml_less_than, "&#60;")
.replaceAll(rgx.xhtml_greater_than, "&#62;")
.replaceAll(rgx.nbsp_char, " ")
+ .replaceAll(rgx.br_newline_inline, "<br />")
+ .replaceAll(rgx.br_line, "<br />")
.replaceAll(rgx.xhtml_line_break, "<br />");
return _txt;
}
@@ -277,6 +279,8 @@ template SQLiteFormatAndLoadObject() {
.replaceAll(rgx.xhtml_less_than, "&#60;")
.replaceAll(rgx.xhtml_greater_than, "&#62;")
.replaceAll(rgx.nbsp_char, " ")
+ .replaceAll(rgx.br_newline_inline, "<br />")
+ .replaceAll(rgx.br_line, "<br />")
.replaceAll(rgx.xhtml_line_break, "<br />");
return _txt;
}