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 /org/ao_doc_abstraction.org | |
parent | 0.13.4 includes ao bookindex segname (anchors) fix (diff) |
endnote anchor tags, address issues
Diffstat (limited to 'org/ao_doc_abstraction.org')
-rw-r--r-- | org/ao_doc_abstraction.org | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/org/ao_doc_abstraction.org b/org/ao_doc_abstraction.org index d2b13aa..338fae8 100644 --- a/org/ao_doc_abstraction.org +++ b/org/ao_doc_abstraction.org @@ -5335,7 +5335,7 @@ struct NotesSection { 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_" @@ -5458,7 +5458,7 @@ struct NotesSection { 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_; |