From e6bae1ca42533a1736dfd1a7c8c68a8a80047e09 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Thu, 11 Jul 2019 10:46:08 -0400 Subject: html scroll toc backmatter (url/link) fix --- org/output_xmls.org | 3 +++ 1 file changed, 3 insertions(+) (limited to 'org/output_xmls.org') diff --git a/org/output_xmls.org b/org/output_xmls.org index e994647..942897e 100644 --- a/org/output_xmls.org +++ b/org/output_xmls.org @@ -1005,6 +1005,9 @@ string para_scroll(O,M)( M doc_matters, string _suffix = ".html", ) { + if (obj.metainfo.is_a == "toc" && _txt.match(rgx.inline_link_toc_to_backmatter)) { + _txt = _txt.replaceAll(rgx.inline_link_toc_to_backmatter, "┤#section_$1├"); + } _txt = inline_markup_scroll(_txt, obj, doc_matters, _suffix); string o = para(_txt, obj, doc_matters); return o; -- cgit v1.2.3