pandoc-crossref icon indicating copy to clipboard operation
pandoc-crossref copied to clipboard

ulr-encoded anchors in OOXML output

Open kappapiana opened this issue 10 months ago • 2 comments

Not sure it's a pandoc-crossref, pandoc or Libreoffice issue, but using internal section references, the resulting ancor in OOXML would point to something like w:name="w:name="sec:sec_sow:a"".

Then I open the document and links work fine

However, if I just save the unmodified document in Libreoffice the : character gets URL-encoded as %3A and results in w:name="sec%3Asec_sow%3Aa" and the internal link gets broken. But since I gather this is something related to compliance, wouldn't it be safer to use the same conversion, since we are dealing with URLs?

kappapiana avatar Oct 16 '23 12:10 kappapiana