Title: Escape HTML
Author: Satya Prakash
Published: <strong>1. september, 2010</strong>
Last modified: 12. oktober, 2013

---

Søg plugins

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

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

# Escape HTML

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

[Download](https://downloads.wordpress.org/plugin/escape-html.1.1.zip)

 * [Detaljer](https://da.wordpress.org/plugins/escape-html/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/escape-html/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/escape-html/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/escape-html/#developers)

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

## Beskrivelse

To show `<b>text</b>` to visitors we need to enter `&lt;b&gt;text&lt;/b&gt;` in 
our WordPress Text editor. For posting code online, three characters (`<`, `>` and`&`)
need to be escaped. We can do that online [tool](http://www.satya-weblog.com/tools/htmlencode.php),
manually converting `<` to < etc. or using easy to use Plugin. It also helps with
syntax Highlighter where you need to escape markup before putting that code in WordPress
Editor.

It escapes markup code inside `<pre>`, `<code>` and `<tt>`.
 The plugin can also
be used with any Syntax Highlighter where you need to escapes Markup inside `<pre
>`, `<code>` and `<tt>`. Just put your code inside Text Mode of Editor and then 
either Save as Draft or Publish. Check you code now and it may have converted for
online posting of code.

This plugin only come into effect when we save a post and it only affect those text
written inside `&lt;pre&gt;`, `&lt;code&gt;` and `&lt;tt&gt;` tag.

For more information about this plugin and wordpress setting related to this plugin,
please [check here](http://www.satya-weblog.com/).

**Related Plugin – [Escaping Markup for Prism](https://wordpress.org/plugins/escape-html-for-prism-syntax-highlighter/)**

Another WP plugin from [Satya](http://www.satya-weblog.com/) – [Performance Optimization: Order Styles and JavaScript](https://wordpress.org/extend/plugins/performance-optimization-order-styles-and-javascript/).

## Installation

 1. Download the plugin from WordPress Plugin Directory.
 2. Upload `escapehtml.php` to the `/wp-content/plugins/` directory
 3. Active the plugin
 4. Now, for new posts, code can be posted without escaping markup manually. Just save
    or publish to see change.

## FAQ

  Who should use this plugin ?

This plugin is written for escaping characters `(<, > and &)` to html entities. 
This is required for posting any code online.

## Anmeldelser

Der er ingen anmeldelser for denne widget.

## Bidragsydere & udviklere

“Escape HTML” er open source-software. Følgende personer har bidraget til dette 
plugin.

Bidragsydere

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

[Oversæt “Escape HTML” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/escape-html)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/escape-html/), tjek 
[SVN repository](https://plugins.svn.wordpress.org/escape-html/), eller abonner 
på [udviklerloggen](https://plugins.trac.wordpress.org/log/escape-html/) via [RSS](https://plugins.trac.wordpress.org/log/escape-html/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 1.1

Just a refresh to tell everyone that it still works and works well. This will remove
warning.
 The change won’t affect at any working level. It is just Readme change
to make things clearer.

#### 1.0

 * Added support for <code> and <tt> tags.
 * ‘code’ and ‘tt’ can be used for inline code posting, whereas ‘pre’ can be used
   for block code posting.
 * Text inside ‘pre’, ‘code’, ‘kbd’, ‘style’, ‘script’, ‘tt’ is not touched by WordPress
   for transformation. I have checked this in version 2.8 and newer.

#### 0.5

 * Development release

## Meta

 *  Version **1.1**
 *  Senest opdateret **13 år siden**
 *  Aktive installationer **10+**
 *  WordPress-version ** 2.0.2 eller højere **
 *  Testet op til **3.6.1**
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/escape-html/)
 * Tags
 * [code](https://da.wordpress.org/plugins/tags/code/)[encode](https://da.wordpress.org/plugins/tags/encode/)
   [entity](https://da.wordpress.org/plugins/tags/entity/)[escape](https://da.wordpress.org/plugins/tags/escape/)
   [script](https://da.wordpress.org/plugins/tags/script/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/escape-html/advanced/)

## Bedømmelser

 5 ud af 5 stjerner.

 *  [  1 5-stjernet anmeldelse     ](https://wordpress.org/support/plugin/escape-html/reviews/?filter=5)
 *  [  0 4-stjernet anmeldelser     ](https://wordpress.org/support/plugin/escape-html/reviews/?filter=4)
 *  [  0 3-stjernet anmeldelser     ](https://wordpress.org/support/plugin/escape-html/reviews/?filter=3)
 *  [  0 2-stjernet anmeldelser     ](https://wordpress.org/support/plugin/escape-html/reviews/?filter=2)
 *  [  0 1-stjernet anmeldelser     ](https://wordpress.org/support/plugin/escape-html/reviews/?filter=1)

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

[Se alle anmeldelser.](https://wordpress.org/support/plugin/escape-html/reviews/)

## Bidragsydere

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

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/escape-html/)

## Donér

Vil du gerne støtte udviklingen af dette plugin?

 [ Donér til dette plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=JCVH4RPHL4P5G)