#21793 closed defect (bug) (duplicate)
Incorrect parsing of readme files for plugins on wordpress.org
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | WordPress.org Site | Keywords: | |
Focuses: | Cc: |
Description
When wordpress.org parses plugin readme files, it changes URLs in the form www.site.com to links, and adds http:// to the text displayed.
That's good and proper. However, it's not helpful when this happens in a code block.
For example, see the first and third code block of this readme - http://wordpress.org/extend/plugins/sitepush/installation/
The readme validator shows the same behaviour.
The parser should not do any URL parsing in code blocks.
Attachments (1)
Change History (7)
#3
in reply to:
↑ 2
@
13 years ago
Replying to toscho:
On a side note: Always use
example.com
,.org
or.net
for sample domains. They exist for exactly this reason.
Thanks for that. For anyone interested, here's the relevant RFC.
#4
@
13 years ago
I have updated my plugin so the readme avoids this behaviour. For reference, the attached file shows the same behaviour in the WordPress readme validator.
On a side note: Always use
example.com
,.org
or.net
for sample domains. They exist for exactly this reason.