[wp-meta] [Making WordPress.org] #2738: Line breaks in readme.txt should be ignored

Making WordPress.org noreply at wordpress.org
Fri Apr 14 20:00:07 UTC 2017


#2738: Line breaks in readme.txt should be ignored
------------------------------+------------------
 Reporter:  yo35              |       Owner:
     Type:  defect            |      Status:  new
 Priority:  normal            |   Milestone:
Component:  Plugin Directory  |  Resolution:
 Keywords:                    |
------------------------------+------------------

Comment (by yo35):

 Consider this example:

 {{{
 I am a very very long sentence that belongs to a single paragraph but I am
 split
 on several lines in the readme.txt file so that I remains easily readable
 and
 editable in plain text mode.
 }}}

 This would be rendered as follows:

 {{{
 <p>I am a very very long sentence that belongs to a single paragraph but I
 am split<br/>
 on several lines in the readme.txt file so that I remains easily readable
 and<br/>
 editable in plain text mode.</p>
 }}}

 The expected behavior -- according to the usual Markdown behavior -- would
 be to have it rendered without the two <br/> tags. By "usual Markdown
 behavior", I mean:
 - what is presented on the Markdown Wikipedia page:
 https://en.wikipedia.org/wiki/Markdown#Example,
 - what is advised on the official Markdown website:
 https://daringfireball.net/projects/markdown/syntax#p,
 - what is implemented in several websites that use Markdown, including
 GitHub for instance.

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


More information about the wp-meta mailing list