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|
|Fixed in Version|
|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.
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)|
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)