Bug #20074 [Com]: Unordered lists not working as expected

From: Date: Fri, 06 Feb 2015 22:06:19 +0000
Subject: Bug #20074 [Com]: Unordered lists not working as expected
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-11236@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=20074&edit=1 ID: 20074 Comment by: ancow Reported By: spam at ancow dot no-ip dot org Summary: Unordered lists not working as expected Status: Open Type: Bug Package: Text_Wiki Operating System: Ubuntu 13.04 Package Version: 1.2.1 PHP Version: 5.4.9 New Comment: It turns out that alternating the second levels between leading with one and two spaces results in the desired behaviour. So you would need to do: * Test1 * Sub1test1 * Sub2test1 * Test2 * Sub1Test2 * Sub2Test2 Previous Comments: ------------------------------------------------------------------------ [2013-09-25 17:31:46] alienn Description: ------------ When cerating unordered list like this: * Test1 * Sub1test1 * Sub2test1 * Test2 * Sub1Test2 * Sub2Test2 I would expect to receive two level 1 elemente and four level 2 elements. But I receive five level 1 elements and only two level 2 elements (Sub1test1 and Sub2test1). Test script: --------------- * Test1 * Sub1test1 * Sub2test1 * Test2 * Sub1test2 * Sub2test2 Expected result: ---------------- <ul> <li>Test1<ul> <li>Sub1test1</li> <li>Sub2test1</li> </ul></li> <li>Test2</li> <li>Sub1test2</li> <li>Sub2test2</li> </ul> Actual result: -------------- <ul> <li>Test1</li> <ul> <li>Sub1test1</li> <li>Sub2test1</li> </ul> <li>Test2</li> <ul> <li>Sub1test2</li> <li>Sub2test2</li> </ul> </ul> ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=20074&edit=1

« previous php.pear.bugs (#11236) next »