bobtfish / text-markdown

The perl Text::Markdown CPAN module
Other
50 stars 21 forks source link

Backslash Escapes of ` Do Not Work Inside ` #24

Open theory opened 11 years ago

theory commented 11 years ago

This looks good:

> echo 'foo\`bar' | Markdown.pl
<p>foo`bar</p>

This not so much:

> echo '`foo\`bar`' | Markdown.pl
<p><code>foo\</code>bar`</p>

Though in fairness, discount does't get it right, either:

 > echo '`foo\`bar`' | markdown
<p><code>foo\</code>bar`</p>