aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sisudoc/meta/metadoc_from_src_functions.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/sisudoc/meta/metadoc_from_src_functions.d')
-rw-r--r--src/sisudoc/meta/metadoc_from_src_functions.d4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sisudoc/meta/metadoc_from_src_functions.d b/src/sisudoc/meta/metadoc_from_src_functions.d
index 53e494b..63143e9 100644
--- a/src/sisudoc/meta/metadoc_from_src_functions.d
+++ b/src/sisudoc/meta/metadoc_from_src_functions.d
@@ -4240,7 +4240,7 @@ template docAbstractionFunctions() {
if (obj.has.inline_notes_reg) {
if ((obj.text).matchFirst(rgx.inline_notes_al_gen)) {
foreach (m; (obj.text).matchAll(rgx.inline_notes_al_regular_number_note)) {
- _notes ~= "\n\n" ~ m["num"] ~ ". " ~ m["note"] ~ " ≫" ~ obj.metainfo.ocn.to!string;
+ _notes ~= "\n\n" ~ m["num"] ~ ". " ~ m["note"];
notes_[(m["num"])]["ocn"] = obj.metainfo.ocn.to!string;
}
}
@@ -4254,7 +4254,7 @@ template docAbstractionFunctions() {
foreach (ref obj; the_document_endnotes_section) {
auto matches = (obj.text).matchAll(rgx.endnote_section_note);
foreach (m; matches) {
- obj.text = m.hit ~ " ≫" ~ notes_[(m["notenumber"])]["ocn"];
+ obj.metainfo.parent_ocn = notes_[(m["notenumber"])]["ocn"].to!int;
}
}
foreach (ref obj; the_document_endnotes_section) {