#73 ✓resolved
Paweł Gościcki

Over-zealous ul tag

Reported by Paweł Gościcki | October 11th, 2008 @ 08:32 AM | in 4.2.0

I'd expect the following to produce a strong tag inside a paragraph:


>> RedCloth.new("*- I'd expect it to be a bolded paragraph.*").to_html
=> "<ul style="vertical-align:middle;">\n\t<li>I&#8217;d expect it to be a bolded paragraph.*</li>\n</ul>"

Textile 2.0 (http://textile.thresholdstate.com/) produces:


<p><strong>- I&#8217;d expect it to be a bolded paragraph.</strong></p>

I know the '-' following '*' is treated as a list attribute (giving vertical align), although I don't quite like it behaving this way. RedCloth 3.04 was in line with Textile 2.0 and produced a strong tag inside a paragraph.

Comments and changes to this ticket

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

Referenced by

Pages