Skip to content

Fix parsing self-closing tags with no space (such as <br/>)

If there was no space between the tag name and the slash of a self-closing tag, the code assumes that the tag name is "br/". This commit adds the slash as a character to close a tag on, so that "<br/>" is treated as a self-closing "br".

(This commit was created and tested for v24.08.0 since master requires updated dependencies that I didn't want to bother installing, but I cherry picked it onto master cleanly, so it should work)

BUG: 487377

Merge request reports

Loading