-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
HTML entities in links are converted to symbols even if they do not end with a semi-colon #5717
Comments
It looks like this happens with any string of characters that would be an HTML entity if you added a semicolon. (Not just in links.) If you put I think the issue here is something along the lines of strings being parsed as HTML entities regardless of whether they end with a semicolon or not. Perhaps the strings are being considered as having typos and the semicolons are being added by automatic typo-correction? |
Tested and confirmed that HTML character entities that do not end with a this:
becomes:
Seen at http://alittletestblog.com/wp-admin/post.php?post=14002&action=edit running WordPress 4.9.7 and Gutenberg 3.2.0 using Firefox 61.0.1 on macOS 10.13.5. |
I noticed a similar issue today. Just wanted to document my experience and provide a screencast for further debugging. Screencast: Reproduce issue:
|
@davewarfel: that is a different matter from the one reported in this issue. That discrepancy between @jpurpleman, I can't repro this issue. Most likely it was solved once we switched to our own serializer. |
This is still an issue. When I try and add a double quote in my post with If I try and add a This is a problem because, Lets say I have a shortcode in my WP post [my_shortcode text="This is some example text, and this is a "quote""] Like I said this works fine if I can use [my_shortcode text="This is some example text, and this is a But the editor keeps changing ( |
See #13609. |
I'm also getting caught on this in version 5.2.3. Also, interestingly, when I search posts from the admin interface for |
Issue Overview
When we have content in the classic editor that is a web link with arguments. This link has query string arguments that include "®". In the classic editor the web link is fine, but when viewing the page in the Gutenberg editor, we see the "®" gets converted to a registered symbol.
Steps to Reproduce (for bugs)
Have a link with query arguments of "®"
Our simple example is
https://www.example.com/?foo=bar®=baz
Using Google Chrome on Linux Version 60.0.3112.90 (Official Build) (64-bit)
Using Gutenberg 2.4
Using WordPress 4.9.4
Expected Behavior
I don't expect the argument to change to a registered symbol
Screenshots / Video
Please see for before and after screenshots.
https://imgur.com/a/bNcb3
The text was updated successfully, but these errors were encountered: