Αυτό το πρόσθετο δεν έχει δοκιμασθεί με τις 3 τελευταίες κύριες εκδόσεις του WordPress. Μπορεί να μην αναπτύσσεται ή να υποστηρίζεται άλλο και να έχει προβλήματα συμβατότητας με τις πιο πρόσφατες εκδόσεις του WordPress.

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, 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.

Related Plugin – Escaping Markup for Prism

Another WP plugin from SatyaPerformance 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” είναι λογισμικό ανοιχτού κώδικα. Οι παρακάτω έχουν συνεισφέρει στη δημιουργία του.

Συντελεστές

Σύνοψη αλλαγών

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