Repeated list wrapper tags for last element of list
mathieso - July 15, 2009 - 23:40
| Project: | Textile |
| Version: | 6.x-2.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
This:
* 1
* 2
* 3
generates:
<ul>
<li>1</li>
<li>2</li>
</ul>
<ul>
<li>3</li>
</ul>(In recent version of PHP.) The extra <ul> is Evil. See http://forum.textpattern.com/viewtopic.php?pid=157427#p157427 for details in the Texpattern forum.
The attached patch takes care of it.
(I've never submitted a patch before, so I'm not sure I did it right.)
| Attachment | Size |
|---|---|
| fix_list_wrapper.patch | 617 bytes |

#1
confirmed working.