imathis / octopress

Octopress is an obsessively designed framework for Jekyll blogging. It’s easy to configure and easy to deploy. Sweet huh?
http://github.com/imathis/octopress
9.31k stars 2.62k forks source link

Footnotes parsing problem when consecutives... #1755

Open UnclePetros opened 8 years ago

UnclePetros commented 8 years ago

Hi, It seems there's a bug in parsing footnotes when they are consecutive in a post. That is, if we have:

[^1][^2][^3]

[^1]: first footnote
[^2]: second footnote
[^3]: third footnote

Only the last footnote is parsed correctly. Second footnote is not taken into account, and the first is converted badly.

But if we use two or more spaces between footnotes, like the following:

[^1]  [^2]  [^3]

[^1]: first footnote
[^2]: second footnote
[^3]: third footnote

Conversion works fine.

Regards UnclePetros

UnclePetros commented 8 years ago

OK, I've noticed if I change markdown engine from rdiscount to kramdown conversion works smootly.