Closed Alteras1 closed 1 month ago
The engine is unable to properly close a tag if the ending tag has a different casing from the start tag.
For example:
[div style="border: 1px solid red"] lorem ipsum [/DIV]
gets parsed to
[ { "tag": "div", "attrs": { "style": "border: 1px solid red" }, "content": [] }, "\n", "lorem", " ", "ipsum", "\n" ]
On a secondary note: the orphaned closing tag is not added back into the output as plain text, giving the impression that it was accepted.
The engine is unable to properly close a tag if the ending tag has a different casing from the start tag.
For example:
gets parsed to
On a secondary note: the orphaned closing tag is not added back into the output as plain text, giving the impression that it was accepted.