Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[shadow] Escaping _ in footnotes does not work #27

Closed
trentm opened this issue Mar 7, 2011 · 0 comments
Closed

[shadow] Escaping _ in footnotes does not work #27

trentm opened this issue Mar 7, 2011 · 0 comments

Comments

@trentm
Copy link
Owner

trentm commented Mar 7, 2011

_This is a _shadow issue* for Issue 27 on Google Code (from which this project was moved).
Added 2009-07-02T02:12:26.000Z by cljacob...@gmail.com. Closed (Fixed).
Labels: Type-Defect, Priority-Medium.
Please make updates to the bug there.*

Original description

Using markdown2 1.0.1.12, with the footnotes extensions enabled, escaping underscores (_) in a 
footnote leaves an MD5 hash in its place.

Running the following through markdown2:
{{{
memcpy_from_tvm

Testing[^1], more testing [^2], more[^3].

[^1]: memcpy_from_tvm
[^2]: `memcpy_from_tvm`
[^3]: memcpy\_from\_tvm
}}}

using with and without code-friendly
{{{
markdown2 -x footnotes  md5_uh.markdown
markdown2 -x footnotes -x code-friendly md5_uh.markdown
}}}

Generates the following html for the footnotes that use escapes:
{{{
<p>memcpymd5-b14a7b8059d9c055954c92674ce60032frommd5-
b14a7b8059d9c055954c92674ce60032tvm&nbsp;<a href=&quot;#fnref-3&quot; class=&quot;footnoteBackLink&quot; 
title=&quot;Jump back to footnote 3 in the text.&quot;>&#8617;</a></p>
}}}

with code-friendly turned on the first footnote correctly does not generate <em>.
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant