[shadow] smarty-pants and quotes in between backticks #48

Open
trentm opened this Issue Mar 7, 2011 · 0 comments

Comments

Projects
None yet
1 participant
Owner

trentm commented Mar 7, 2011

_This is a _shadow issue* for Issue 48 on Google Code (from which this project was moved).
Added 2010-11-05T05:03:25.000Z by livibet...@gmail.com.
Labels: Type-Defect, Priority-Medium.
Please make updates to the bug there.*

Original description

smarty-pants shouldn't modify quotations marks or anything in between backticks.

The step to reproduce:

1. echo "\`'abc'\`" > test.mkd
2. python markdown2.py -x smarty-pants test.mkd

The content of test.mkd is

    `'abc'`

The correct output should be

    <p><code>'abc'</code></p>

But I got

    <p><code>&#8217;abc&#8217;</code></p>

I am using r263.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment