Title: NEW! Code Display
Last modified: August 18, 2016

---

# NEW! Code Display

 *  [viper007bond](https://wordpress.org/support/users/viper007bond/)
 * (@viper007bond)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/new-code-display/)
 * 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()](http://www.php.net/manual/en/function.htmlspecialchars.php)
   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/](http://www.viper007bond.com/wordpress-plugins/code-display/)

The topic ‘NEW! Code Display’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [viper007bond](https://wordpress.org/support/users/viper007bond/)
 * Last activity: [20 years, 10 months ago](https://wordpress.org/support/topic/new-code-display/)
 * Status: not a support question

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
