diff options
Diffstat (limited to 'src/doc_reform')
-rw-r--r-- | src/doc_reform/meta/metadoc_from_src.d | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/doc_reform/meta/metadoc_from_src.d b/src/doc_reform/meta/metadoc_from_src.d index 6396655..a9005cd 100644 --- a/src/doc_reform/meta/metadoc_from_src.d +++ b/src/doc_reform/meta/metadoc_from_src.d @@ -4721,9 +4721,10 @@ template docAbstraction() { } return t; } - @safe string munge_quote()(string obj_txt_in) { - obj_txt["munge"] = obj_txt_in; - return obj_txt["munge"]; + @safe auto munge_quote()(string obj_txt_in) { + TxtPlusHasFootnotesUrlsImages t = object_notes_and_links_(obj_txt_in.split("\n\n").join(" \\\\\n \\\\\n")); + // TxtPlusHasFootnotesUrlsImages t = object_notes_and_links_(obj_txt_in); + return t; } invariant() { } @@ -4822,6 +4823,9 @@ template docAbstraction() { case "block": x = munge.munge_block(obj_txt["munge"]); goto default; + case "quote": + x = munge.munge_quote(obj_txt["munge"]); + goto default; case "verse": x = munge.munge_verse(obj_txt["munge"]); goto default; @@ -4831,9 +4835,6 @@ template docAbstraction() { case "table": obj_txt["munge"] = munge.munge_table(obj_txt["munge"]); break; - case "quote": - obj_txt["munge"] = munge.munge_quote(obj_txt["munge"]); - break; case "comment": obj_txt["munge"] = munge.munge_comment(obj_txt["munge"]); break; |