bhollis / maruku

A pure-Ruby Markdown-superset interpreter (Official Repo).
MIT License
502 stars 80 forks source link

Maruku cannot parse <https...> links at the beginning of the line #126

Closed kainjow closed 10 years ago

kainjow commented 10 years ago

I just did gem install maruku on 10.9.1 and seem to have found an issue with https links.

This works fine:

puts Maruku.new("<http://google.com>").to_html

But this spits out the "Maruku cannot parse this block of HTML/XML" error:

puts Maruku.new("<https://google.com>").to_html

If I add text beforehand it works:

puts Maruku.new("Test <https://google.com>").to_html

I am also using the latest source on Windows and see it there too.

bhollis commented 10 years ago

Looks like a tiny bug with a regex. Will test and fix for 0.7.2. In the meantime, you already know the workarounds:

kainjow commented 10 years ago

Thanks for the quick fix!