<br> tag breaks LaTeX editor if not closed

In edit moode:

In preview mode:

If I close the tag, it works fine but it’s not correct in html

And the editor flags it as wrong

moved to help for not following the bug report template.

What happens if you use the self-closing version? <br />