Issue Details (XML | Word | Printable)

Key: DOXIA-232
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Lukas Theussl
Reporter: Vincent Massol
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Maven Doxia

Confluence: Nested list parsing is not generating correct events

Created: 21/Mar/08 02:23 PM   Updated: 09/May/09 12:20 AM   Resolved: 09/May/09 12:20 AM
Component/s: Module - Confluence
Affects Version/s: 1.0-alpha-10
Fix Version/s: 1.1.1

Time Tracking:
Not Specified

File Attachments: 1. Text File MNG-232-module-confluence.patch (3 kB)
2. Text File MNG-232-module-confluence.patch (46 kB)
3. Zip Archive nested_lists.zip (8 kB)



 Description  « Hide

Here's some input I've used (verified it works in Confluence):

# Item 1
## Item 2
##* Item 3
## Item 4
# Item 5
* Item 1
** Item 2
*** Item 3
** Item 4
* Item 5
* Item 6

This generates the following events: NL, LI, NL, LI, LI_, LI, LI_, LI, LI_, NL_, LI_, etc

It should have generated: NL, LI, NL, LI, LIST, LI, LI_, LIST_, LI_, etc



Kornel added a comment - 14/Mar/09 04:01 PM

Path solves this issue.


Lukas Theussl added a comment - 03/Apr/09 03:41 AM

This patch is unfortunately unreadable, as it changes all the formatting. Please adhere to our coding conventions (http://maven.apache.org/developers/conventions/code.html), in particular: no tabs!


Kornel added a comment - 08/May/09 05:35 PM

This patch should solve this problem. I have also added test case for heterogenous nested lists.


Lukas Theussl added a comment - 09/May/09 12:20 AM

Patch applied in r773164. Thanks!