mpdf: internal links to headers of the same page don't work in the created PDF
- Status
- Open
- Subject
- mpdf: internal links to headers of the same page don't work in the created PDF
- Version
- 20.x
- Category
- Bug
- Feature
- Resolution status
- New
- Submitted by
- Benjamin
- Lastmod by
- Benjamin
- Rating
- Description
When using the [#Header|Header] in a Wiki page and referencing to a header on the same page it works as intended but not after exporting it with mpdf to a PDF these links are blue and clickable but don't serve their purpose of jumping to their anchors.
Workarounds are using the Plugin ALINK/ANAME which only opens the browser with the given page which is not quite the intention of having it exported as PDF. Another one is using the HTML Plugin which worked for the page and to jump to the anchor in the PDF but is troublesome for further maintaining multiple bigger pages with this Syntax.
I have the assumption that tiki is referencing the ID attribute for the anchor in the A Tag rather than a name tag which mpdf actually supports.
https://github.com/mpdf/mpdf/issues/1055- Importance
- 10 high
- Easy to solve?
- 8
- Priority
- 80
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 7234
- Created
- Wednesday 15 January, 2020 14:14:08 UTC
by Benjamin - LastModif
- Wednesday 29 April, 2020 13:02:51 UTC