[BUG] Implicit self closing HTML tags (e.g. <br>) are unsupported by the editor #472
Open
2 tasks done
Labels
bug
Something isn't working
Describe the bug
Implicit self-closing HTML tags like
<img>
and<br>
fail to load in the MDX editor as they 'have an unmatched closing tag'.Reproduction
Repro sandbox
To Reproduce
Steps to reproduce the behavior:
Expected behavior
renders as a linebreak as supported in most flavours of markdown
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
HTML tags appear to be parsed with the JSX parser, which is expecting a self-closing tag marker or an end tag (to be valid JSX syntax)
The text was updated successfully, but these errors were encountered: