
ALT description for images does not accept trailing whitespace
Reported by Paweł Gościcki | June 18th, 2009 @ 06:24 AM
RedCloth::VERSION
=> 4.2.1
RedCloth.new("!/pictures/test.jpg(Test... )!").to_html
=> "<p>!/pictures/test.jpg(Test… )!</p>"
I would expect it to generate a valid image tag. I suspect it is a regresion from #71 as it has worked before.
Comments and changes to this ticket
-
Paweł Gościcki June 18th, 2009 @ 08:27 AM
- Tag changed from images, parser to images, parser
Leading whitespace is a no-no too.
RedCloth.new("!/pictures/test.jpg( Test)!").to_html => "<p>!/pictures/test.jpg( Test)!</p>"
And note that this bug is different than #122.
-
bhu February 7th, 2011 @ 11:07 AM
- Milestone order changed from 0 to 0
experienced it too
hope it's not intended.
+1
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
RedCloth is a Ruby library for converting Textile into HTML