Title: Escape HTML
Author: Satya Prakash
Published: <strong>2010 年 9 月 1 日</strong>
Last modified: 2013 年 10 月 12 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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

# Escape HTML

 由 [Satya Prakash](https://profiles.wordpress.org/satya61229/) 開發

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

 * [詳細資料](https://tw.wordpress.org/plugins/escape-html/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/escape-html/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/escape-html/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/escape-html/#developers)

 [技術支援](https://wordpress.org/support/plugin/escape-html/)

## 外掛說明

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/).

## 安裝方式

 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.

## 常見問題集

  Who should use this plugin ?

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

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Escape HTML〉的開發相關工作。

參與者

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

[將〈Escape HTML〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/escape-html)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/escape-html/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/escape-html/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/escape-html/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/escape-html/)。

## 變更記錄

#### 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

## 中繼資料

 *  版本 **1.1**
 *  最後更新 **13 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 2.0.2 或更新版本 **
 *  已測試相容的 WordPress 版本 **3.6.1**
 *  語言
 * [English (US)](https://wordpress.org/plugins/escape-html/)
 * 標籤:
 * [code](https://tw.wordpress.org/plugins/tags/code/)[encode](https://tw.wordpress.org/plugins/tags/encode/)
   [entity](https://tw.wordpress.org/plugins/tags/entity/)[escape](https://tw.wordpress.org/plugins/tags/escape/)
   [script](https://tw.wordpress.org/plugins/tags/script/)
 *  [進階檢視](https://tw.wordpress.org/plugins/escape-html/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  1 個 5 星使用者評論     ](https://wordpress.org/support/plugin/escape-html/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/escape-html/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/escape-html/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/escape-html/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/escape-html/reviews/?filter=1)

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

[查看全部使用者評論](https://wordpress.org/support/plugin/escape-html/reviews/)

## 參與者

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

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/escape-html/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=JCVH4RPHL4P5G)