-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Wrong" character in title #19898
Comments
Any update here? |
This behavior seems to have been introduced with #18616. It's not strictly wrong to escape the entities (replace the apostrophe), in that the output is valid HTML which can be faithfully represented on the front of the site and anywhere else which can display HTML. If Mailpoet is unable to unable to handle this sort of HTML, then that is perhaps an issue that they need to fix. That being said, I don't think it's needed or desirable to escape these characters in the title:
Recommendation: Revert #18616 |
Sure, Mailpoet can work on this, too. But why don't we fix it directly in Wordpress / Gutenberg? Any point which points against this? My point is, that Mailpoet will not be the only plugin which use exactly what is written in the database, so solving it on the Gtenberg editor end would be the best solution. |
@Sven74Muc I recommended a change in Gutenberg in my previous comment.
|
@aduth thanks for taking over this issue and adding this to WordPress 5.4 Must Have |
I have the Gutenberg 7.3.0 plugin installed but the issue happend also with former versions. Deactivating the Gutenberg plugin and the issue is gone.
What happened.
I post a new post (not page) with an apostrophe (') in the title. Within the database there is no apostrophe, instead there is & # 3 9 ; (without spaces) written.
On the webpage there is no issue, this will be tranformed back to an apostroph... but Mailpoet does this not. Within my newsletters (new post notification) it will we used exactly what is in the database, means "What's" will be displayed as "What& # 3 9 ;s" (without spaces).
Think Mailpoet is not the only plugin (while it is a very common plugin) which displays exactly the database entry.
Keywords: unicode, apostrophe, post title, encoding
The text was updated successfully, but these errors were encountered: