Making WordPress.org

#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:
Cc:

Description

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: https://translate.wordpress.org/projects/wp-plugins/multibanco-ifthen-software-gateway-for-woocommerce/stable-readme/pt/default/?filters%5Bstatus%5D=either&filters%5Boriginal_id%5D=14916874&filters%5Btranslation_id%5D=99712035

Change History (2)

#1 @dd32
11 months ago

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

#2 @dd32
11 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.