Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#11211 closed defect (bug) (fixed)

make_clickable issue with brackets and trailing ,

Reported by: westi's profile westi Owned by:
Milestone: 2.9 Priority: normal
Severity: normal Version: 2.9
Component: Formatting Keywords: has-patch make_clickable
Focuses: Cc:


The following is incorrectly linked:

Example: WordPress, test (some text), I love (, it is brilliant
Example: WordPress, test (some text), I love (<a href="" rel="nofollow"></a>, it is brilliant

Attachments (1)

make_clickable.11211.diff (1.1 KB) - added by filosofo 15 years ago.

Download all attachments as: .zip

Change History (4)

#1 @westi
15 years ago

Test case added to wordpress-tests


#2 @filosofo
15 years ago

  • Keywords has-patch make_clickable added; needs-patch removed

Patch passes the TestMakeClickable for me, including "test_real_world_examples"

#3 @westi
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [12250]) Ensure that make_clickable links correctly when the link is placed in brackets and has trailing punctuation. Fixes #11211 props filosofo.

Note: See TracTickets for help on using tickets.