showdown/test/issues/#332.inconsistent-behavior-of-emphasis-and-strong.html
Estevao Soares dos Santos a4f05d4693 fix(italicsAndBold): fiz inconsistency in italicsAndBold parsing
The way showdown parsed cases suchs as this:
```
**foo **bar
__foo __bar
*foo *bar
_foo _bar
```
was inconsistent. This established that `__` or `**` preceeding a word
would not be parsed as em or strong.

Closes #332
2017-01-29 23:24:31 +00:00

16 lines
461 B
HTML

<p>foo *bar *baz</p>
<p>foo **bar **baz</p>
<p>foo _bar _baz</p>
<p>foo __bar __baz</p>
<p>foo *bar *baz *bazinga</p>
<p>foo **bar **baz **bazinga</p>
<p>foo _bar _baz __bazinga</p>
<p>foo __bar __baz __bazinga</p>
<p><em>f</em></p>
<p><strong>f</strong></p>
<p><em>f</em></p>
<p><strong>f</strong></p>
<p>foo **bar **baz <strong>bazinga bla</strong></p>
<p>foo <strong>bar **baz **bazinga bla</strong></p>
<p>foo <strong>**bar **baz **bazinga bla</strong></p>