writemonkey / wm3

165 stars 5 forks source link

Bug in markdown handling when html tag precedes it in a paragraph #292

Open jmcd040 opened 5 years ago

jmcd040 commented 5 years ago

Paste this in to WM3 Beta9 (Windows 10) and notice when the word "sentence" is bold and is not.

This <u>is a test</u> **sentence.**
This <u>is a test **sentence.**
This is a test **sentence.**

This <u>is a test **sentence.**

This is a test **sentence.**

What I see is that only the last line makes the word "sentence" bold. This is also true if you are only using single asterisks to italicize. If any html tag, for example <span>, precedes the markdown asterisks in a paragraph the asterisks are ignored. It doesn't affect == and I haven't tested it with others.

jmcd040 commented 5 years ago

My custom theme file italicizes quotes. However, adding an html tag (like <u>...</u>) cancels the italics character formatting. from that point to the end of the quote.