
Duplicate rendering with 2 dots, a space, and 2 newlines at the end
Reported by Greg Moreno | September 8th, 2009 @ 05:49 PM
>> RedCloth::VERSION
=> 4.2.2
>> RedCloth.new("g.. x\n\n").to_html
=> "<p>g.. x</p>\n<p>g.. x</p>"
But if you use only 1 dot (or 3 or more), it works fine:
>> RedCloth.new("g. x\n\n").to_html
=> "<p>g. x</p>"
>> RedCloth.new("g... x\n\n").to_html
=> "<p>g… x</p>"
Works if only 1 newline at the end:
>> RedCloth.new("g.. x\n").to_html
=> "<p>g.. x</p>"
Works if there's no space between the dots:
>> RedCloth.new("g..x\n\n").to_html
=> "<p>g..x</p>"
Comments and changes to this ticket
-
Jason Garber March 1st, 2010 @ 09:09 AM
- State changed from new to open
- Tag set to extended blocks, duplication
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
People watching this ticket
Referenced by
-
179 Duplicated content inside complex markup This bug might be related to ticket 169.