BookStackApp / BookStack

A platform to create documentation/wiki content built with PHP & Laravel
https://www.bookstackapp.com/
MIT License
15.22k stars 1.9k forks source link

PDF Export Issue if '&' Used in Title #1107

Closed aljawaid closed 3 years ago

aljawaid commented 5 years ago

Describe the bug

I noticed I get an An unknown error has occurred issue without any mention in the logs. It only causes an issues when I put the & in the title line. e.g. "Categories & Packages"

PDF Export working if title is "Categories and Packages" PDF Export NOT working if title is "Categories & Packages"

Your Configuration (please complete the following information):

Additional context

Not sure if it is related to #804 or even #1097

aljawaid commented 5 years ago

804 #1097

james-geiger commented 4 years ago

@aljawaid @ssddanbrown

I've tested this in v.28-dev with DOMPDF and WKHTMLPDF and both generate readable pdfs with ampersands in the page title.

PHP 7.3.x Laravel Valet (nginx)

If there are no further details, I recommend closing the issue.

ssddanbrown commented 3 years ago

Thanks for confirming @james-geiger.

Since there's been no follow-up I'll close this off.