Prevent spaces and HTML entities (e.g. > or ') from disappearing when editing posts with TinyMCE.
As of April 2026, TinyMCE Entities Patch is a WordPress bug plugin with 20 active installations and a 0/5 rating0. It has been downloaded 3.4K+ times in total. Requires WordPress 2.5+ and PHP false+. Available on WordPress.org since 2008. Last updated 17 years ago — may have compatibility concerns. Top alternative: WP PHP Console.
Important Note: The recent release of WordPress 2.6 has fixed the disappearing entities bug this plugin was designed to fix, so once you upgrade to WordPress 2.6 please discontinue using this plugin. I may release a new plugin that prevents spaces from being stripped from the beginning of lines sometime in the near future.
After a few weeks of writing posts on WordPress, I was getting very irritated when all the HTML entities I added to my examples kept being converted into characters — e.g. HTML entities like > < " would convert to > < " — when I saved the post I was working on.
To make matters worse, all the spaces I was using to align my coding examples would disappear when switching between “HTML” mode and “Visual…
| WordPress | 2.5+ requiredTested up to 2.5.1 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.