]> BookStack Code Mirror - bookstack/commit
Includes: Workaround for PHP 8.3.14 bug
authorDan Brown <redacted>
Thu, 28 Nov 2024 16:30:59 +0000 (16:30 +0000)
committerDan Brown <redacted>
Thu, 28 Nov 2024 16:30:59 +0000 (16:30 +0000)
commit415cd6a360f9326fd82480f7a7510e0ee247fbcb
tree6c4529becad99102ef0a44e36adb05a2a116d485
parent68ce34074110375d52f3496c1377515e8634d615
Includes: Workaround for PHP 8.3.14 bug

Changed DOMText creation to be done via document so its document
reference is correct to avoid a bug in PHP 8.3.14.
Ref: https://github.com/php/php-src/issues/16967

Fixes #5341
app/Entities/Tools/PageIncludeParser.php
app/Util/HtmlDocument.php