trentm / trentm/python-markdown2
[shadow] smarty-pants and quotes in between backticks
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.8k
- Forks
- 459
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 4
Description
_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>’abc’</code></p>
I am using r263.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the command shown with python markdown2.py and the smarty-pants extension using test.mkd. Trace how backticks and quoted text are processed, and verify that the output preserves the single quotes inside the code span; updates are directed to the linked Google Code issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100