Closed sxross closed 12 years ago
Indeed.
Fixed on my Nokogiri branch.
I've pulled @distler's fix.
I just experienced exactly this same problem, running ruby 2.0.0p247 and maruku 0.6.1:
::Maruku.new('![the alt](/path/to/some/image.jpg "the title")').to_html
resulting in
<p><img src="/path/to/some/image.jpg" alt="the alt" /></p>
The workaround as it is described in the original issue above is working for me. If anyone else can reproduce this I guess it might be worth taking a look at? I'm sorta baffled and unsure how to look further into this, especially seeing that exactly this seems to have been adressed previously :)
Version: 0.6.0, Ruby 1.8.7 p302
The following works as expected:
The following fails because it ignores the optional title string inside the parentheses:
BTW: The workaround is burdensome to users who must put the title in an attribute list:
As this syntax is documented in the Maruku dox and the Daring Fireball ones, it would be good if it worked :)