mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
0c6f345c4c
fix italicsAndBold if literalMidwordUnderscores option is enabled it should end at the nearest closing underscores, not the furthest Closes #544
12 lines
590 B
HTML
12 lines
590 B
HTML
<p>some <em>foo</em> yeah</p>
|
|
<p>some <strong>foo</strong> yeah</p>
|
|
<p>some <strong><em>foo</em></strong> yeah</p>
|
|
<p>some word_foo_yeah</p>
|
|
<p>some word__foo__yeah</p>
|
|
<p>some word___foo___yeah</p>
|
|
<p>strippers, <em>hitler</em>, and stalin</p>
|
|
<p>strippers, <strong>hitler</strong>, and stalin</p>
|
|
<p>strippers, <strong><em>hitler</em></strong>, and stalin</p>
|
|
<p><strong><em>multiple</em></strong> italics and bolds in a <strong><em>paragraph</em></strong></p>
|
|
<p><strong>multiple</strong> bolds in a <strong>paragraph</strong></p>
|
|
<p><em>multiple</em> italics in a <em>paragraph</em></p> |