aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/ao_doc_abstraction.org
diff options
context:
space:
mode:
Diffstat (limited to 'org/ao_doc_abstraction.org')
-rw-r--r--org/ao_doc_abstraction.org7
1 files changed, 6 insertions, 1 deletions
diff --git a/org/ao_doc_abstraction.org b/org/ao_doc_abstraction.org
index a81e658..6a807a2 100644
--- a/org/ao_doc_abstraction.org
+++ b/org/ao_doc_abstraction.org
@@ -4409,6 +4409,8 @@ struct ObjInlineMarkupMunge {
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 +/
@@ -4457,6 +4459,7 @@ struct ObjInlineMarkupMunge {
);
}
}
+ obj_txt_in = obj_txt_in.replaceAll(rgx.inline_mono_box, ("#{$1}#"));
return obj_txt_in;
}
#+END_SRC
@@ -5064,7 +5067,9 @@ struct ObjInlineMarkup {
_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,