zulip/zulip-markdown-parser

Enclosing text in a pair of single underscore characters is not supported

mojavelinux opened this issue · 1 comments

According to the CommonMark spec, text enclosed in a pair of single underscore characters (e.g., _text_) should be converted to an <em> tag. See https://spec.commonmark.org/0.30/#emphasis-and-strong-emphasis However, the Markdown implementation in Zulip does not handle this conversion. Since this syntax for emphasis (i.e.., italic) is quite prevalent in the Markdown ecosystem, we often end up with messages where these formatting marks fall through to the rendered post.

I just realized that this is the wrong repository for this report and that there is a duplicate in the main zulip repository. See zulip/zulip#12325