Opened 8 years ago
Last modified 3 months ago
#43810 new defect (bug)
Apostrophe issue
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Awaiting Review | Priority: | normal |
| Severity: | normal | Version: | 4.9.5 |
| Component: | Formatting | Keywords: | needs-patch wptexturize |
| Focuses: | Cc: |
Description (last modified by )
Change History (8)
#3
@
4 years ago
- Description modified (diff)
- Keywords needs-patch added; reporter-feedback removed
- Summary changed from Aphostrophe issue to Apostrophe issue
This can also happen when the letter before the apostrophe is inside a tag (and wptexturize is active).
<strong>I</strong>'m
This ticket was mentioned in Slack in #accessibility by ryokuhi. View the logs.
4 years ago
#7
@
7 months ago
I can reproduce this using block editor.
Screenshots:
Admin: https://shottr.cc/s/16oD/SCR-20250512-psi.png
Frontend: https://shottr.cc/s/1eha/SCR-20250512-ptd.png
Default theme: Twenty Twenty-Five
Steps:
- Add a text block with this text
I'v'e' 'b'e'en'
- Select these letter
'v'e' 'b'e'en'and apply Bold style - Check on frontend
Is this an expected behaviour or not ?
#8
@
3 months ago
After a bit of digging, I am unsure if this is a bug or an expected behaviour. The content is filtered through wptexturize which converts ' (ASCII 39) to open and closed apostrophes based on regex. So the apostrophes do appear correctly when the text is bold. Now, why it is not being done when the content is not between tags like <strong> is another issue.


Hello thanks for your report. I'm not able to reproduce the issue. can you confirm if this still present, and provide the steps to reproduce it?
Thanks.