#155 new
Paweł Gościcki

ALT description for images does not accept trailing whitespace

Reported by Paweł Gościcki | June 18th, 2009 @ 06:24 AM

=> 4.2.1

RedCloth.new("!/pictures/test.jpg(Test... )!").to_html
=> "<p>!/pictures/test.jpg(Test&#8230; )!</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

    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

    bhu February 7th, 2011 @ 11:07 AM

    • Milestone order changed from “0” to “0”

    experienced it too

    hope it's not intended.


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.

New-ticket Create new ticket

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

Shared Ticket Bins

People watching this ticket