diff options
Diffstat (limited to 'src/sdp/ao/abstract_doc_source.d')
| -rw-r--r-- | src/sdp/ao/abstract_doc_source.d | 7 | 
1 files changed, 6 insertions, 1 deletions
diff --git a/src/sdp/ao/abstract_doc_source.d b/src/sdp/ao/abstract_doc_source.d index dfd0dd9..8b95cc0 100644 --- a/src/sdp/ao/abstract_doc_source.d +++ b/src/sdp/ao/abstract_doc_source.d @@ -3485,6 +3485,8 @@ template SiSUdocAbstraction() {        debug(asserts) {          static assert(is(typeof(obj_txt_in) == string));        } +      auto mng = InlineMarkup(); +      obj_txt_in = obj_txt_in.replaceAll(rgx.inline_mono, (mng.mono ~ "{$1}" ~ mng.mono));        /+ url matched +/        if (obj_txt_in.match(rgx.inline_url_generic)) {          /+ link: naked url: http://url +/ @@ -3533,6 +3535,7 @@ template SiSUdocAbstraction() {            );          }        } +      obj_txt_in = obj_txt_in.replaceAll(rgx.inline_mono_box, ("#{$1}#"));        return obj_txt_in;      }      auto footnotes_endnotes_markup_and_number_or_stars(Ot)(Ot obj_txt_in, bool reset_note_numbers) { @@ -4012,7 +4015,9 @@ template SiSUdocAbstraction() {            _anchor_tag,          );          lev4_subtoc[segment_anchor_tag_that_object_belongs_to] -        ~= obj_["lev_markup_number"] ~ "~ " ~ subtoc_txt_.to!string.strip; +        ~= munge.url_links(obj_["lev_markup_number"] +             ~ "~ " ~ subtoc_txt_.to!string.strip +           );          toc_txt_= munge.url_links(toc_txt_);          indent=[            "hang_position" : obj_["lev_markup_number"].to!int,  | 
