Code Display

Ever wanted to display some code on your blog only to find that the HTML inbetween the or

 tags got rendered instead of actually displaying it? Then you had to go manually replace any < or > characters with &lt; and &gt;. What a pain.

So, in comes this plugin. It automatically applies PHP's htmlspecialchars() to the code contents for display. It also fixes a bug of sorts where WordPress will apply paragraph codes inside of code tags when you have two line breaks.

Here it is in action (in a

though) and note that I typed it into the "Write Page" exactly as it appears:

Click here to go to

Here's Google's logo:

Google's Logo

Download link here which is also where you should leave any comments.