From afca0c72801ec0256adc6f9a318ff00f0097e056 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Wed, 9 Feb 2022 18:07:14 -0500 Subject: sqlite, html lite breakline related --- org/out_sqlite.org | 4 ++++ src/doc_reform/io_out/sqlite.d | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/org/out_sqlite.org b/org/out_sqlite.org index 4cea09a..36c0efd 100644 --- a/org/out_sqlite.org +++ b/org/out_sqlite.org @@ -553,6 +553,8 @@ string munge_html(M,O)( .replaceAll(rgx.xhtml_less_than, "<") .replaceAll(rgx.xhtml_greater_than, ">") .replaceAll(rgx.nbsp_char, " ") + .replaceAll(rgx.br_newline_inline, "
") + .replaceAll(rgx.br_line, "
") .replaceAll(rgx.xhtml_line_break, "
"); return _txt; } @@ -594,6 +596,8 @@ string html_special_characters(string _txt){ .replaceAll(rgx.xhtml_less_than, "<") .replaceAll(rgx.xhtml_greater_than, ">") .replaceAll(rgx.nbsp_char, " ") + .replaceAll(rgx.br_newline_inline, "
") + .replaceAll(rgx.br_line, "
") .replaceAll(rgx.xhtml_line_break, "
"); return _txt; } 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, "<") .replaceAll(rgx.xhtml_greater_than, ">") .replaceAll(rgx.nbsp_char, " ") + .replaceAll(rgx.br_newline_inline, "
") + .replaceAll(rgx.br_line, "
") .replaceAll(rgx.xhtml_line_break, "
"); return _txt; } @@ -277,6 +279,8 @@ template SQLiteFormatAndLoadObject() { .replaceAll(rgx.xhtml_less_than, "<") .replaceAll(rgx.xhtml_greater_than, ">") .replaceAll(rgx.nbsp_char, " ") + .replaceAll(rgx.br_newline_inline, "
") + .replaceAll(rgx.br_line, "
") .replaceAll(rgx.xhtml_line_break, "
"); return _txt; } -- cgit v1.2.3