BookStackApp/BookStack

Keep script after export html

Closed this issue · 1 comments

Attempted Debugging

  • I have read the debugging page

Searched GitHub Issues

  • I have searched GitHub for the issue.

Describe the Scenario

I’m trying to add a script to the user’s custom head content and want to keep it after exporting the HTML.
so i can using something like chromium-browser command that have ability to run script tags for dynamic rendering and turn html to pdf
However,
there is a restriction that the exported HTML will filter out all script tags #2490 Is there any way to bypass this?

Exact BookStack Version

v24.10.2

Log Content

No response

Hosting Environment

PHP 8.13 with Windows 11 workstation version

alright
after more research
i can use custom theme to get same effect