NEW! Code Display (1 post)

  1. Alex Mills (Viper007Bond)
    Posted 10 years ago #

    Ever wanted to display some code on your blog only to find that the HTML inbetween the <code> or <pre> 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.

    More details and an example here: http://www.viper007bond.com/wordpress-plugins/code-display/

Topic Closed

This topic has been closed to new replies.

About this Topic