[wp-trac] [WordPress Trac] #23308: make_clickable problem with multiple "Punctuation URL character"
WordPress Trac
noreply at wordpress.org
Sun Jun 8 00:12:53 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 | Focuses:
------------------------------------------+-----------------------------
Comment (by mdawaffe):
Replying to [comment:1 nacin]:
> `blah blah
http://en.wikipedia.org/wiki/PC_Tools_(Central_Point_Software).)moreurl
blah blah`
That test is confusing. Why is the suffix "moreurl" if it's not meant to
be in the URL?
We could do something like: attachment:23308.diff
* Allow consecutive punctuation characters as long as they are followed by
a non-punctuation character.
Passes all current and attached tests.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/23308#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list