View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004064 | Composr | core | public | 2020-01-29 02:39 | 2020-01-29 02:39 |
Reporter | Chris Graham | Assigned To | Chris Graham | ||
Severity | Trivial-bug | ||||
Status | resolved | Resolution | fixed | ||
Product Version | 10.0.29 | ||||
Fixed in Version | 10.0.30 | ||||
Summary | 0004064: Behaviour of XHTML cleanup code is inconsistent with HTML5 cleanup algorithm | ||||
Description | HTML5 cleans up self-closing tags that are not meant to be self-closing by stripping the self-closing, and then injects the closing of still-open tags while it finds that the next closer is not a match to the last thing opened. The Composr XHTML cleanup tool leaves the self-closer alone. This inconsistency may lead to confusion with AJAX-loaded HTML - which gets pre-cleaned by Composr because the AJAX JavaScript needs it to be XML-compliant. "Why are tags self-closing in one situation but not the other" a user may ask. Give the Composr cleanup tool the same behaviour, which requires knowledge of which HTML tags are not meant to self-close. | ||||
Tags | No tags attached. | ||||
Time estimation (hours) | |||||
Sponsorship open | |||||
|
Fixed in git commit b004243a1 (https://gitlab.com/composr-foundation/composr/commit/b004243a1 - link will become active once code pushed to GitLab) A hotfix (a TAR of files to upload) have been uploaded to this issue. These files are made to the latest intra-version state (i.e. may roll in earlier fixes too if made to the same files) - so only upload files newer than what you have already. Always take backups of files you are replacing or keep a copy of the manual installer for your version, and only apply fixes you need. These hotfixes are not necessarily reliable or well supported. Not sure how to extract TAR files to your Windows computer? Try 7-zip (http://www.7-zip.org/). hotfix-4064, 2020-01-29 2am.tar (93,184 bytes) |