Opened 7 months ago

Closed 7 months ago

#7383 closed defect (bug) (fixed)

Readme parser failing to correctly parse multilevel lists

Reported by: webdados's profile webdados Owned by: dd32's profile dd32
Milestone: Priority: low
Component: Plugin Directory Keywords:


When a readme file has a multilevel list, the parser is not separating the strings of the list item parent and its first child.

For example:

* Item 1
* Item 2
	* Sub-item 2.1
	* Sub-item 2.2
* Item 3

Item 1, Sub-item 2.2 and Item 3 are all correctly parsed but Item 2 and Sub-item 2.1 will be parsed as a single string withe the second level opening UL and LI HTML elements on it. Real-live example:

Change History (2)

#1 @dd32
7 months ago

  • Component changed from General to Plugin Directory
  • Priority changed from normal to low

#2 @dd32
7 months ago

  • Owner set to dd32
  • Resolution set to fixed
  • Status changed from new to closed

In 13075:

Plugin Directory: i18n: Support nested lists as separate translated strings.

Fixes #7383.

Note: See TracTickets for help on using tickets.