Home » HTML » HTML_BBCodeParser » Bug #6335
List bug
Details
| Submitted | 2005-12-23 02:31 UTC |
|---|---|
| From | david dot coffin at flighthardware dot com |
| Assigned | dufuz |
| Status | Closed |
| Package | HTML_BBCodeParser |
| PHP Version | 4.3.10 |
| OS | Linux |
| Roadmaps | (Not assigned) |
Comments
[2005-12-23 02:31 UTC] david dot coffin at flighthardware dot com
Description:
------------
I had applied all of the the newer revisions of HTML_BBCodeParser. There is a problem now where an extra empty list item is inserted at the beginning of the list when the bbcode appears as:
The bbcode workaround is when I place the list tag on the sam line as the opening tag:
[list=1][*] Item one
[*] Item two
[*] Item three
[/list]
This correctly results as:
1. Item one
2. Item two
3. Item three
Test script:
---------------
[list=1]
[*] Item one
[*] Item two
[*] Item three
[/list]
the result of this is:
1.
2. Item one
3. Item two
4. Item three
Expected result:
----------------
[list=1]
[*] Item one
[*] Item two
[*] Item three
[/list]
the result of this is:
1. Item one
2. Item two
3. Item three