syntaxhighlighter
syntaxhighlighter copied to clipboard
BugFix for double encoding of posts that get trashed and restored
Description:
Trashing and untrashing posts double encodes SH shortcode content
Steps to reproduce:
- Create a post
- In the text tab of tiny mce add a SH shortcode with in it.
- Save the post
- Trash the post
- Undo or Restore the post
- Edit the post (to view double encoding)
Example short code `[php]
[/php]`
Expected output:
The user should be able trash and restore without altering the content of the shortcode
Actual Output:
The content of the shortcode get double encoded.
Tested with: WordPress 3.6-beta3-24430
I don't think this is an issue any more, at least with Gutenberg blocks.