
Three newlines after a list at end of file make dangling <li>
Reported by Tommy Li | February 6th, 2010 @ 03:54 AM
Three newlines after a list at end of file make dangling <li>
I'm going to escape newlines to illustrate the problem.
Consider this textile:
* a\n
* b\n
* c\n
\n
\n
This will yield:
<ul>
<li>a</li>
<li>b</li>
<li>c</li>
</ul>
<li>
This is incorrect.
Comments and changes to this ticket
-
Jason Garber March 1st, 2010 @ 08:53 AM
- State changed from new to open
Confirmed bug. Here's the test case
--- name: three newlines after a list in: "* a\n* b\n* c\n\n\n" html: |- <ul> <li>a</li> <li>b</li> <li>c</li> </ul>
-
Jason Garber March 1st, 2010 @ 08:53 AM
- Tag set to lists
-
Jason Garber January 23rd, 2011 @ 07:30 PM
- State changed from open to resolved
Accepted! Thanks!
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