If there is a single space on the line following a footnote, the footnote regex gets a bit
confused.
import markdown2
text = '''
Here is some markdown with a footnote[^myfootnote] embedded within it.
[^myfootnote]: I define the footnote here on
multiple lines but the line below contains *one* space but looks blank
'''
markdowner = markdown2.Markdown()
markdowner.convert(text)
This produces the following html output.
<p>Here is some markdown with a footnote[^myfootnote] embedded
within it.</p>\n\n<pre><code>multiple lines but the line below
contains *one* space but looks blank\n</code></pre>\n'
If there is a single space on the line following a footnote, the footnote regex gets a bit confused.
This produces the following html output.