-
Notifications
You must be signed in to change notification settings - Fork 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
Editor: text is stripped within code tags #1109
Comments
Related. If I write a post in code tags, some things get encapsulated.
It was fine in the normal WP editor, though. |
26May16 Bug Scrub Confirmed this is still an issue. |
This only effects within [code][/code] blocks supports adding within them, and an issue where reloading a post with these would reformat these has been fixed in #8325 I would suggest we close this as it's a limitation with wp-admin as well and the workaround to use [code][/code] blocks is acceptable. |
Done, agreed. |
If you add this text in the editor, this sentence displays correctly:
For example, <code>std::get<0>(tup)</code> retrieves the first element of a tuple.
However, if you add this text instead the
<0>
gets stripped out.For example, <code>std::get<0>(tup)</code> retrieves the first element of a tuple.
This affects both the Calypso editor and WP.com's WP Admin editor. And both sentences publish correctly on my local install of core WP.
Test post on WP.com: https://testsjr1.wordpress.com/2015/10/23/testing-code-tags/
Test post on core install:
Ticket: 2195888-t
The text was updated successfully, but these errors were encountered: