Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.2.4

Bug #1201 [list] output adding extra <li></li>
Submitted: 2004-04-14 03:22 UTC
From: webluke at webluke dot net Assigned: quipo
Status: Closed Package: HTML_BBCodeParser
PHP Version: 4.3.3 OS: Linux
Roadmaps: (Not assigned)    
Subscription  


 [2004-04-14 03:22 UTC] webluke at webluke dot net
Description: ------------ When using [list] its adding extra "<li></li>" to the end of a list. Lists don't matter if ordered or unordered. Reproduce code: --------------- $str = "[list][*]bla bla[/list]"; $str = HTML_BBCodeParser::staticQparse($str); echo $str; Expected result: ---------------- <ul><li>bla bla</li></ul> Actual result: -------------- <ul><li>bla bla</li></ul><li></li>

Comments

 [2004-10-14 15:59 UTC] stoyan at videotron dot ca
Note that this happens only when you're not ending the list item with a \n Those work OK: [list][*]bla bla [/list] or [list] [*]bla bla [/list]
 [2005-10-18 13:11 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!