taufik-nurrohman / parsedown-extra-plugin

Configurable Markdown to HTML converter with Parsedown Extra.
MIT License
62 stars 13 forks source link

Footnotes can't start with `>` for a blockquote #27

Closed marcus-at-localhost closed 3 years ago

marcus-at-localhost commented 3 years ago

Hey, I'm using parsedown-extra 0.8.0-beta-1 and parsedown-extra-plugin v1.3.1, so apologies if this got fixed already. I had trouble to update both libs.

The problem is:

# Header

Text with footnote[^1]

[^1]: > Blockquote as Footnote

The > is throwing a Warning: Invalid argument supplied for foreach() in \vendor\taufik-nurrohman\parsedown-extra-plugin\ParsedownExtraPlugin.php on line 324

https://github.com/taufik-nurrohman/parsedown-extra-plugin/blob/v1.3.1/ParsedownExtraPlugin.php#L324

I'm not sure if that's even valid there, but I thought I report it.