Single emphasis on comments is not consistent with double emphasis #1679
Labels
category: inline elements
L1 - broken
Valid usage causes incorrect output OR a crash AND there is no known workaround for the issue
Describe the bug
Wrapping a
<!-- -->
comment in single_
or*
emphasis is not consistent with wrapping a comment in double__
or**
emphasis.To Reproduce
md
html
_<!-- foo -->_
_<!-- foo -->_
*<!-- foo -->*
*<!-- foo -->*
__<!-- foo -->__
<strong><!-- foo --></strong>
**<!-- foo -->**
<strong><!-- foo --></strong>
Expected behavior
md
html
_<!-- foo -->_
<em><!-- foo --></em>
*<!-- foo -->*
<em><!-- foo --></em>
__<!-- foo -->__
<strong><!-- foo --></strong>
**<!-- foo -->**
<strong><!-- foo --></strong>
The text was updated successfully, but these errors were encountered: