Files
pandoc/test/docx/anchor_header_after_anchor.native
T
mbracke a331a1c00a Docx reader: fix anchor in header after anchor (#9626)
When the last parPart before a header was a bookmark, no span with an
anchor was added for a bookmark in the header. But the function that
adds header anchors to the anchor map, needs a span with an anchor.
So this commit adds that span.
2024-04-18 09:32:48 -07:00

7 lines
369 B
Plaintext

[Para [Link ("",[],[]) [Str "A",Space,Str "link",Space,Str "to",Space,Str "the",Space,Str "bookmark"] ("#referenced-title" , "")]
,Para [Strong [Str "Accomplices:"]]
,Para [Str "There",Space,Str "are",Space,Str "bookmarks",Space,Str "around",Space,Str "here."]
,Para []
,Header 1 ("referenced-title",[],[]) [Str "Referenced" ,Space ,Str "title"]
,Para [Str "Content"]]