Actions
Bug #9035
closedhead-matter makes tags self-closing that shouldn't be
Start date:
09/02/2021
Due date:
% Done:
100%
Estimated time:
Description
I tried to add a <script>
tag in <head-matter>
in wt_config.xml
, but the XML parser turns a <script>
tag with an empty body into a self-closing tag, which is not allowed by HTML.
We should make sure only tags that are allowed to be self-closing are self-closed. We already have a mechanism like this for our message resource bundles, so that can be reused.
Workaround: put a JavaScript comment in the <script>
tag so it's non-empty.
Updated by Roel Standaert about 3 years ago
- Target version changed from 4.6.0 to 4.7.0
Updated by Korneel Dumon almost 3 years ago
- Status changed from New to InProgress
- Assignee set to Korneel Dumon
Updated by Korneel Dumon almost 3 years ago
- Status changed from InProgress to Review
- Assignee deleted (
Korneel Dumon)
Updated by Roel Standaert almost 3 years ago
- Status changed from Review to Implemented @Emweb
- % Done changed from 0 to 100
Updated by Roel Standaert almost 3 years ago
- Status changed from Implemented @Emweb to Resolved
Updated by Roel Standaert almost 3 years ago
- Status changed from Resolved to Closed
Actions