Opened 5 months ago

Last modified 5 months ago

#23050 new defect (bug)

make_clickable incorrectly formats anchors with URL's and spaces in them in comments

Reported by: johnjamesjacoby Owned by:
Priority: normal Milestone: Awaiting Review
Component: Formatting Version: 3.4.2
Severity: normal Keywords: needs-patch
Cc: netweb

Description

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.

Change History (2)

  • Cc netweb added
  • Version changed from 3.5 to 3.4.2

Confirmed in 3.5 as well as in 3.4.2.

Note: See TracTickets for help on using tickets.