BookStack
BookStack copied to clipboard
Wkhtmltopdf Export Blockquotes Problem
Describe the Bug
With wkhtmltopdf configured and working well, when i export any page that contains a blockquote > xxx the resulting pdf shows the htmlentity &ldquot.

Steps to Reproduce
- Configure wkhtmltopdf
- Create a page with a blockquote
> This is a test
- Save the page
- Export as PDF
Expected Behaviour
The document should render the htmlentity correctly as a quote.
Screenshots or Additional Context
No response
Browser Details
Any Browser
Exact BookStack Version
v22.04.2
PHP Version
7.4.26
Hosting Environment
Docker on Debian 10 exposed with nginx proxy manager
Thanks for reporting @thorin8k.
I can confirm this. Occurs within the document parsing calls that are specifically ran for PDF HTML formatting:
https://github.com/BookStackApp/BookStack/blob/1c859e94e03d0407daf55ade43ced245f208f971/app/Entities/Tools/ExportFormatter.php#L155-L156