[wp-trac] [WordPress Trac] #43313: wptexturise uses the wrong curly quote after a closing link tag
WordPress Trac
noreply at wordpress.org
Wed Feb 14 10:29:04 UTC 2018
#43313: wptexturise uses the wrong curly quote after a closing link tag
--------------------------+-----------------------------
Reporter: andfinally | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
When an English possessive 's comes immediately after a closing link tag,
wptexturise changes it to the wrong kind of curly quote mark.
'''To reproduce:'''
* Enter some text with a link followed by an 's in your post content, for
example
{{{
<a href="http://bbc.co.uk/news">BBC</a>'s approach
}}}
* View the post in the front end.
'''What I expect'''
The filter replaces the straight single quote mark with a right curly
apostrophe ’
'''What I see instead'''
The filter replaces the quote mark with a left curly apostrophe ‘
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43313>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list