diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2022-02-05 22:16:38 -0500 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2022-02-05 22:16:38 -0500 |
commit | 6acf8085bea565943516e146077350fa3ea74a8b (patch) | |
tree | 3f2dd85b79a98cb5842c461fe337d0f2ed34194a /src/doc_reform/meta | |
parent | epub, navigation (diff) |
quote block, footnotes, markup?
Diffstat (limited to 'src/doc_reform/meta')
-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; |