
Spurious p tag inserted when parsing ordered list adjacent to blockquote
Reported by Jonah Burke | October 18th, 2010 @ 03:11 AM
irb(main):007:0> RedCloth::VERSION
=> 4.2.3 irb(main):008:0> RedCloth.new( "
- item
=> "
- item
Note the extra
and that the resulting HTML is invalid.
Comments and changes to this ticket
-
Jonah Burke October 18th, 2010 @ 03:12 AM
irb(main):007:0> RedCloth::VERSION => 4.2.3 irb(main):008:0> RedCloth.new( "<ol><li>item</li></ol><blockquote></blockquote>" ).to_html => "<ol><li>item</li><p></ol><blockquote></blockquote></p>"
-
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