Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Escape HTML

Helpful plugin for those who post code (PHP, JavaScript, HTML, CSS, any) online.

Many of us post code and scripts online on our blog and for that we need to escape those codes to html entities. If, we are going to show <b>text</b> to visitors we need to enter &lt;b&gt;text&lt;/b&gt; in our WordPress HTML editor. We also want to use syntax Highlighter for decorating our code. Server side highlighter plugins are doing html tags conversion to html entities but those who are using Client-side (JavaScript) syntax Highlighter need to convert characters manually or using any tool.

If you are using Google Syntax Highlighter for WordPress which is a client-side Syntax-Highlighter. So, you may be taking care of <, > and & before posting any code online. This plugin will avoid that extra work.

This code only come into effect when we save a post and It only affect those text written inside <pre>, <code> and <tt> tag. Text placed inside 'pre', 'code', 'kbd', 'style', 'script', and 'tt' is not touched by WordPress for transformation. I have checked this in version 2.8 and newer. So, we can utilize these tags for our code posting. <pre>, and <code> have their own advantages for SEO. It is also helpful at those places where Javascript is disabled. Most feed readers do not support JavaScript. So, many blog owners are using client-side syntax highlighter based on JavaScript.

For more information about this plugin and wordpress setting related to this plugin, please check here.

Another WP plugin from Satya - Performance Optimization: Order Styles and Javascript.

Requires: 2.0.2 or higher
Compatible up to: 3.1.4
Last Updated: 2010-9-8
Downloads: 897

Ratings

4 stars
4 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,2,2
100,1,1