BookStack/app
Dan Brown 88c698796b
Fixed issue with HTML tags in custom head scripts
Fixes a strange issue of HTML tags within script tags being malformed
when part of the HTML custom head content due to the PHP parsing we do.
DOMDocument seemed to cause this upon load.
Adding LIBXML_SCHEMA_CREATE to the ->loadHTML call seems to fix this but
not really sure why. Doesn't seem to cause further issues though.
Tested with multiple scripts and styles and comments and meta tags.

- Also added new testing class to cover.
- As part of testing, added new folder within tests to house setting
  specific tests.

For #2914
2021-09-05 23:52:39 +01:00
..
Actions Added the ability to remove an MFA method 2021-07-14 21:27:21 +01:00
Api Updated API auth handling of email confirmations 2021-08-05 22:07:08 +01:00
Auth Swapped injected db instance with facade 2021-08-31 21:50:23 +01:00
Config Applied stylci changes 2021-08-31 22:03:51 +01:00
Console Apply fixes from StyleCI 2021-08-21 14:49:40 +00:00
Entities Fixed lack of proper ordering of pages 2021-09-01 20:30:02 +01:00
Exceptions Apply fixes from StyleCI 2021-08-21 14:49:40 +00:00
Facades Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
Http Added a couple of additional CSP rules 2021-09-04 14:34:43 +01:00
Interfaces Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
Notifications Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
Providers Finished off script CSP rules 2021-09-04 13:57:04 +01:00
Settings Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
Theming Finished off script CSP rules 2021-09-04 13:57:04 +01:00
Traits Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
Translation Apply fixes from StyleCI 2021-08-21 14:49:40 +00:00
Uploads Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
Util Fixed issue with HTML tags in custom head scripts 2021-09-05 23:52:39 +01:00
Application.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
helpers.php Merge branch 'v21.05.x' 2021-07-03 12:02:13 +01:00
Model.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00