#5353 - Add some tolerance / auto-fixing of broken HTML inside an HTML comcode tag
| Identifier | #5353 |
|---|---|
| Issue type | Feature request or suggestion |
| Title | Add some tolerance / auto-fixing of broken HTML inside an HTML comcode tag |
| Status | Open |
| Tags |
Roadmap: Over the horizon (custom) |
| Handling member | Deleted |
| Addon | General / Uncategorised |
| Description | It is possible to mess up a site layout with invalid HTML in a comcode HTML tag thanks to how Chrome tries to auto-fix invalid HTML. We've seen this happen, though rarely, in forum posts. Here are a couple ideas to work around this:
(From Chris Graham) 1) Arbitrarily wrap some kind of "fixer" tag around forum posts that we can prove has the behaviour of closing any HTML tags that were left open since the fixer tag was opened. Like td used to do for us, but it can't be that. I don't know if there is such a thing but we can experiment. Note: Should probably also be applied elsewhere user input is accepted, such as the CMS zone. 2) For users without a certain privilege (maybe those without the privilege to use dangerous HTML / Comcode?), calls xhtmlise_html around the contents of any 'html' Comcode tags. |
| Steps to reproduce | |
| Funded? | No |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".
Comments
There have been no comments yet