Wordpress replacing single quotes, dashes, and other basic characters with extended search-unfriendly ones
|Reported by:||archon810||Owned by:|
Noticed this problem a while ago, so I don't remember which Wordpress version it was introduced in. All of my sites (specifically AndroidPolice.com) exhibit it and even a high-profile site like TechCrunch.com does too.
Pretty much all special characters are for some reason replaced by html entities, but not ones that are exactly the same.
My biggest gripe is with a single quote character ' which is replaced with ’. ’ which shows up as ’ is not the same as ' and if you do an in-page search in something like Firefox, you won't be able to find "won't" because it's spelled as "won’t"
Other entities are similar: - is replaced with – (although not every time?), etc.
When I click Edit and go to the Edit post in HTML mode (I switched off WYSIWYG a long time ago), then View Source, I see regular characters, like single quote and dash, so Wordpress seems to convert them on the fly.
This is highly annoying and makes in-page search using some punctuation characters almost impossible.
What's going on?
Change History (6)
- Milestone Awaiting Review deleted
- Resolution set to wontfix
- Status changed from new to closed
- Resolution wontfix deleted
- Status changed from closed to reopened
comment:5 in reply to: ↑ 3 @SergeyBiryukov — 4 months ago
- Component changed from General to Formatting
- Resolution set to duplicate
- Status changed from reopened to closed