#40148 closed defect (bug) (duplicate)
wptexturize does not handle mid-word italics properly
| Reported by: | chriscombsdc | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Formatting | Version: | 3.2.1 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
When referring to the name of a publication, it is necessary to italicize the publication but not the possessive ending.
This leads to wptexturize making the wrong assumption about whether to use a "left" or a "right" quote.
Example post content:
the <em>Daily Mail</em>'s report
Current output:
the Daily Mail‘s report
Desired output:
the Daily Mail’s report
Change History (5)
#2
@
9 years ago
Hi @lukecavanagh, the mid-word </em> tag is causing the single quote to get the wrong direction when run through wptexturize.
#3
@
9 years ago
See #18549. As mentioned there, you could try the plugin pap-texturize-1.0.0.zip.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
@chriscombsdc
All <em> should do is just make the text within that italic.
So on the left and right quotes do you mean for double quotes?
https://codex.wordpress.org/Fun_Character_Entities
https://codex.wordpress.org/Function_Reference/wptexturize