asciidoctor-pdf: URLs with an #id are not rendered correctly.
When I have link in my source doc like this:
https://access.redhat.com/documentation/en-us/openshift_container_platform/4.4/html/storage/configuring-persistent-storage#persistent-storage-using-vsphere[]
the resulting link in the pdf does not work. The text shown is correct, but in the hyperlink the ‘#’ gets replaced with ‘%23’
So I end up with:
https://access.redhat.com/documentation/en-us/openshift_container_platform/4.4/html/storage/configuring-persistent-storage%23persistent-storage-using-vsphere
Bug? Regressions? Or am I doing it wrong?
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 1
- Comments: 18 (10 by maintainers)
This is a bug in the Preview tool on macOS Catalina. See this Apple Communities discussion and this question on AskDifferent.
I can confirm that links with hashes in PDF files created by Asciidoctor-PDF work correctly in other PDF viewers. Conversely, links with hashes in PDF files created with other tools have the same problem when clicked in the Preview tool on Catalina.