diff options
author | Ralph Amissah <ralph@amissah.com> | 2017-03-03 17:39:29 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2019-04-10 15:14:14 -0400 |
commit | ee46a992473e7617cd0824baa01e1b6f5bb4b376 (patch) | |
tree | 3a8cf356ef06c399ba39bd85e5e023a19a26a9e2 /src | |
parent | 0.13.4 includes ao bookindex segname (anchors) fix (diff) |
endnote anchor tags, address issues
Diffstat (limited to 'src')
-rw-r--r-- | src/sdp/ao_abstract_doc_source.d | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sdp/ao_abstract_doc_source.d b/src/sdp/ao_abstract_doc_source.d index 7cb68e5..ef64f0b 100644 --- a/src/sdp/ao_abstract_doc_source.d +++ b/src/sdp/ao_abstract_doc_source.d @@ -4451,7 +4451,7 @@ template SiSUdocAbstraction() { m.captures[2]); // sometimes need segment name (segmented html & epub) } // TODO NEXT you need anchor for segments at this point -> - object_notes["anchor"] ~= "#note_" ~ m.captures[1] ~ "』"; + object_notes["anchor"] ~= "note_" ~ m.captures[1] ~ "』"; object_notes["notes"] ~= (segment_anchor_tag_that_object_belongs_to.empty) ? (munge.url_links( "{^{" ~ m.captures[1] ~ ".}^}#noteref_" @@ -4562,7 +4562,7 @@ template SiSUdocAbstraction() { auto m = (matchFirst(endnote, rgx.note_ref)); string notenumber = to!string(m.captures[1]); string anchor_tag = "note_" ~ notenumber; - comp_obj_endnote_.anchor_tags ~= [ endnotes_["anchor"][i] ]; + comp_obj_endnote_.anchor_tags = [ endnotes_["anchor"][i] ]; comp_obj_endnote_.inline_links = true; comp_obj_endnote_.text = endnote.strip; the_endnotes_section ~= comp_obj_endnote_; |