[wp-meta] [Making WordPress.org] #1216: Parsing readme files fails on code blocks starting with `#

Making WordPress.org noreply at wordpress.org
Thu Sep 3 08:22:41 UTC 2015


#1216: Parsing readme files fails on code blocks starting with `#
-------------------------+------------------------------
  Reporter:  DvanKooten  |      Owner:
      Type:  defect      |     Status:  new
  Priority:  normal      |  Component:  Plugin Directory
Resolution:              |   Keywords:
-------------------------+------------------------------
Changes (by SergeyBiryukov):

 * component:  General => Plugin Directory


Old description:

> When WordPress.org parses `readme.txt` files for plugins, it will fail
> whenever a code block is opened and then immediately followed by a `#`.
>
> _Example_
> `
> #this-will fail
> `
>
> The section will be cut off at the first backtick (which will be visible
> in the parse result) and parsing will continue as usual in the next
> section.
>
> This behaviour can easily be replicated using the [Readme
> Validator](https://wordpress.org/plugins/about/validator/) using the
> attached readme.txt file.

New description:

 When WordPress.org parses `readme.txt` files for plugins, it will fail
 whenever a code block is opened and then immediately followed by a `#`.

 _Example_
 `
 #this-will fail
 `

 The section will be cut off at the first backtick (which will be visible
 in the parse result) and parsing will continue as usual in the next
 section.

 This behaviour can easily be replicated using the
 [https://wordpress.org/plugins/about/validator/ Readme Validator] using
 the attached readme.txt file.

--

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/1216#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list