[wp-trac] [WordPress Trac] #23308: make_clickable problem with multiple "Punctuation URL character"
WordPress Trac
noreply at wordpress.org
Fri Jan 17 08:22:59 UTC 2014
#23308: make_clickable problem with multiple "Punctuation URL character"
------------------------------------------+-----------------------------
Reporter: DrPepper75 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Formatting | Version: 3.5.1
Severity: normal | Resolution:
Keywords: needs-patch needs-unit-tests |
------------------------------------------+-----------------------------
Changes (by nacin):
* keywords: => needs-patch needs-unit-tests
* milestone: Awaiting Review => Future Release
Comment:
Hi DrPepper75, thanks for this. Sorry it's taken so long for your bug
report to get a response.
I tried out your suggestion. It broke another test, which is:
`blah blah
http://en.wikipedia.org/wiki/PC_Tools_(Central_Point_Software).)moreurl
blah blah`
When given `).`, it's much more likely for . to not be part of the URL, so
that's probably the case we'd want to handle most often. That said, the
test it broke struck me as a bit odd. If a space was before "moreurl", the
test would pass both before and after the patch. I'll see if I can get
someone else to look at this.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/23308#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list