mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-28 17:20:47 +08:00
a331a1c00a
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.
7 lines
369 B
Plaintext
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"]]
|