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

Bug #5879 Nested lists to do not parse properly in Text_Wiki
Submitted: 2005-11-06 19:54 UTC
From: titus at barik dot net Assigned: toggg
Status: Closed Package: Text_Wiki
PHP Version: Irrelevant OS: FreeBSD
Roadmaps: (Not assigned)    
Subscription  


 [2005-11-06 19:54 UTC] titus at barik dot net
Description: ------------ Nested lists yield incorrect output. In stable, nested lists are not parsed properly. In CVS, they are not parsed at all. Test script: --------------- require('Text/Wiki.php'); $wiki = new Text_Wiki(); echo "<html>\n"; echo "<head><title>Wiki List Test</title></head>\n"; echo "<body>\n\n"; $text = <<<EOQ * U1-1 # O2-1 # O2-2 * U1-2 * U1-3 Expected result: ---------------- <ul> <li>U1-1 <ol> <li>O2-1</li> <li>O2-2</li> </ol> </li> <li>U1-2</li> <li>U1-3</li> </ul> Actual result: -------------- <ul> <li>U1-1</li> </ul> <p># O2-1<br /> # O2-2</p> <ul> <li>U1-2</li> <li>U1-3</li> </ul>

Comments

 [2005-11-06 20:46 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!