开发者 | stringfold |
---|---|
更新时间 | 2008年7月16日 01:20 |
捐献地址: | 去捐款 |
PHP版本: | 2.5 及以上 |
WordPress版本: | 2.5.1 |
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" mode, even if I used the entity. So, I finally bit the bullet and wrote this little plugin to fix these problems. It does just two things: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.
There isn't one. Your only options are to activate or deactivate the plugin from the Plugin Management panel.
No, this is a fix for disappearing space characters and HTML entites (tags beginning with & and ending with ;) only.