Closed akishind-medlinx closed 1 month ago
This shouldn't happen. I will check it. For now only br HTML tag is supported in Markdown, so using any other tag will just return the tag as a text and shouldn't cause a crash.
br tag is mainly needed in Markdown to support multiple successive line breaks, hopefully in the future I will start supporting all other HTML tags in Markdown.
I can repro it.
This is due to the incorrect initial state of markdown text that contains empty lines. See more details at #392.
I managed to reproduce it, a fix is coming
If we set to editor some text , containing
<br>
, and try typing some text, a crash occurs.Of course, we can just remove/replace problematic parts before setting the text to the editor, but I think the crash is still worth to look at. Also, should we be aware of some other tags that can potentially cause similar issues?
https://github.com/user-attachments/assets/2c47607e-bfe1-421e-812c-b7e5c502f1e9
Library version: 1.0.0-rc09