aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sisudoc/io_out/text.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/sisudoc/io_out/text.d')
-rw-r--r--src/sisudoc/io_out/text.d4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sisudoc/io_out/text.d b/src/sisudoc/io_out/text.d
index da0e2b6..ce37310 100644
--- a/src/sisudoc/io_out/text.d
+++ b/src/sisudoc/io_out/text.d
@@ -309,9 +309,9 @@ template outputText() {
_ocn = "「" ~ obj.metainfo.ocn.to!string ~ "」";
string _txt = obj.text;
_txt = _txt
- .replaceFirst(rgx.inline_link, ("$1"))
+ .replaceAll(rgx.inline_link, ("$1")) // consider
.replaceFirst(rgx.inline_superscript, ("$1"));
- _txt = special_characters_and_font_face!().general(_txt);
+ _txt = special_characters_and_font_face!().general(_txt) ~ " ≫" ~ obj.metainfo.parent_ocn.to!string;
return _txt ~ newlines;
}
string bookindex(O,M)(O obj, M doc_matters) {