[wp-meta] [Making WordPress.org] #6358: Readme Parsing gets tripped up by new lines in the headers

Making WordPress.org noreply at wordpress.org
Thu Jun 9 01:47:17 UTC 2022


#6358: Readme Parsing gets tripped up by new lines in the headers
------------------------------+--------------------
 Reporter:  dd32              |      Owner:  (none)
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:
Component:  Plugin Directory  |   Keywords:
------------------------------+--------------------
 A readme.txt that looks something like this:
 {{{
 === MyPlugin ===
 Tags: a, b, c

 Stable Tag: 1.2

 ...
 }}}
 or
 {{{
 === MyPlugin ===
 Tags: a, b, c
 Stable Tag: 1.2

 MyPlugin: Does these things
 ...
 }}}
 causes the readme parser to get tripped up and incorrectly parse or
 discard some of the lines.

 In the first case, it will ignore the Stable tag, and in the second it'll
 discard the short description.

 Props Ipstenu for the report.

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/6358>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list