[wp-trac] [WordPress Trac] #23050: make_clickable incorrectly formats anchors with URL's and spaces in them in comments

WordPress Trac noreply at wordpress.org
Sun Dec 23 00:32:30 UTC 2012


#23050: make_clickable incorrectly formats anchors with URL's and spaces in them in
comments
-----------------------------+--------------------------
 Reporter:  johnjamesjacoby  |       Type:  defect (bug)
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  Formatting
  Version:  3.5              |   Severity:  normal
 Keywords:  needs-patch      |
-----------------------------+--------------------------
 When posting a comment, if an anchor tag contains both a URL and some
 words, make_clickable formats the output incorrectly.

 To duplicate, post the following content in a comment:

 {{{
 Hey! <a href="http://wordpress.org">http://wordpress.org is awesome</a> in
 case you didn't know!
 }}}

 When viewing the comment, you'll get:

 {{{
 Hey!
 <a href="#" rel="nofollow"></a>
 <a href="http://wordpress.org" rel="nofollow">http://wordpress.org</a> is
 awesome in case you didn't know.
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23050>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list