Title: Escape HTML For Prism Syntax Highlighter
Author: Satya Prakash
Published: <strong>October 10, 2013</strong>
Last modified: October 11, 2013

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/escape-html-for-prism-syntax-highlighter.
svg)

# Escape HTML For Prism Syntax Highlighter

 By [Satya Prakash](https://profiles.wordpress.org/satya61229/)

[Download](https://downloads.wordpress.org/plugin/escape-html-for-prism-syntax-highlighter.zip)

 * [Details](https://wordpress.org/plugins/escape-html-for-prism-syntax-highlighter/#description)
 * [Reviews](https://wordpress.org/plugins/escape-html-for-prism-syntax-highlighter/#reviews)
 *  [Installation](https://wordpress.org/plugins/escape-html-for-prism-syntax-highlighter/#installation)
 * [Development](https://wordpress.org/plugins/escape-html-for-prism-syntax-highlighter/#developers)

 [Support](https://wordpress.org/support/plugin/escape-html-for-prism-syntax-highlighter/)

## Description

This plugin is a extension of my earlier plugin [Escape HTML](https://wordpress.org/plugins/escape-html/).

Many of us post code and scripts online on WordPress and for that we need to escape
those codes to html entities. For posting inside WordPress, we need to escape few
characters so that it appears as it is to visitors. There are few online [escaping tool](http://www.satya-weblog.com/tools/htmlencode.php)
as well. This plugin save your effort to escape code manually.

The plugin – Escape HTML For Prism Syntax Highlighter – take cares of `<`, `>` and`&`.
Without converting HTML code to HTML entities, Prism will strip off those HTML.

This plugin work when we Save or Draft a Post and it only affect those text written
inside <pre><code> Affected Code </code></pre>.
 Most feed readers do not support
JavaScript. So, many blog owners are using client-side syntax highlighter based 
on JavaScript. Prism is one just lightweight and fast Syntax Highlighter based on
JavaScript.

This plugin does not require any setting. Just install and enable it.
 For more 
information about this plugin – [Escape HTML For Prism Syntax Highlighter](http://www.satya-weblog.com/).

## Screenshots

 * [[
 * Development release
 * [[

## Installation

 1. Download the plugin from WordPress Plugin Directory.
 2. Upload `escape-html-for-prism.php` to the `/wp-content/plugins/` directory
 3. Active the plugin
 4. Now, for new posts, code can be posted without escaping HTML.

## FAQ

  Who should use this plugin ?

This plugin is written for escaping characters `(<, > and &)` to html entities. 
This is required for Syntax Highlighting of HTML code using Prism.
 This plugin 
will work on code written inside <pre><code> Affected Code </code></pre>. If you
want a plugin to work on

<

pre>, ` and separately then use [Escape HTML](https://wordpress.org/plugins/escape-html/).`

## Reviews

![](https://secure.gravatar.com/avatar/cb12220f11b3a68965e30bfd29af73547779b8fdd50161aeb601c1a32dab4ddd?
s=60&d=retro&r=g)

### 󠀁[It works without any extra thing for plugin use](https://wordpress.org/support/topic/it-works-without-any-extra-thing-for-plugin-use/)󠁿

 [Satya Prakash](https://profiles.wordpress.org/satya61229/) February 7, 2017

It just work. You write your code in Text Mode Editor as required by Prism Syntax
Highlighter and then just Draft it of Save it. The code is converted for posting
online.

 [ Read all 2 reviews ](https://wordpress.org/support/plugin/escape-html-for-prism-syntax-highlighter/reviews/)

## Contributors & Developers

“Escape HTML For Prism Syntax Highlighter” is open source software. The following
people have contributed to this plugin.

Contributors

 *   [ Satya Prakash ](https://profiles.wordpress.org/satya61229/)

[Translate “Escape HTML For Prism Syntax Highlighter” into your language.](https://translate.wordpress.org/projects/wp-plugins/escape-html-for-prism-syntax-highlighter)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/escape-html-for-prism-syntax-highlighter/),
check out the [SVN repository](https://plugins.svn.wordpress.org/escape-html-for-prism-syntax-highlighter/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/escape-html-for-prism-syntax-highlighter/)
by [RSS](https://plugins.trac.wordpress.org/log/escape-html-for-prism-syntax-highlighter/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Version **0.5**
 *  Last updated **13 years ago**
 *  Active installations **10+**
 *  WordPress version ** 2.0.2 or higher **
 *  Tested up to **3.6.1**
 * Tags
 * [code](https://wordpress.org/plugins/tags/code/)[encode](https://wordpress.org/plugins/tags/encode/)
   [entity](https://wordpress.org/plugins/tags/entity/)[escape](https://wordpress.org/plugins/tags/escape/)
   [script](https://wordpress.org/plugins/tags/script/)
 *  [Advanced View](https://wordpress.org/plugins/escape-html-for-prism-syntax-highlighter/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/escape-html-for-prism-syntax-highlighter/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/escape-html-for-prism-syntax-highlighter/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/escape-html-for-prism-syntax-highlighter/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/escape-html-for-prism-syntax-highlighter/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/escape-html-for-prism-syntax-highlighter/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/escape-html-for-prism-syntax-highlighter/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/escape-html-for-prism-syntax-highlighter/reviews/)

## Contributors

 *   [ Satya Prakash ](https://profiles.wordpress.org/satya61229/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/escape-html-for-prism-syntax-highlighter/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=JCVH4RPHL4P5G)