Title: HTML Purified
Author: John Godley
Published: <strong>17 d'agost de 2007</strong>
Last modified: 5 de maig de 2012

---

Cerca extensions

Aquesta extensió **no s’ha provat en les darreres 3 versions majors del WordPress**.
Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat
quan s’usa en versions recents del WordPress.

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

# HTML Purified

 Per [John Godley](https://profiles.wordpress.org/johnny5/)

[Baixa](https://downloads.wordpress.org/plugin/html-purified.0.8.zip)

 * [Detalls](https://ca.wordpress.org/plugins/html-purified/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/html-purified/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/html-purified/#installation)
 * [Desenvolupament](https://ca.wordpress.org/plugins/html-purified/#developers)

 [Suport](https://wordpress.org/support/plugin/html-purified/)

## Descripció

HTML Purified replaces the default WordPress comments filters with HTML Purifier,
a super HTML filtering
 library.

> HTML Purifier is a standards-compliant HTML filter library written in PHP. HTML
> Purifier will
>  not only remove all malicious code (better known as XSS) with a
> thoroughly audited, secure yet permissive whitelist, it will also make sure your
> documents are standards compliant, something only achievable with a comprehensive
> knowledge of W3C’s specifications.

An additional feature of HTML Purifier is that it will produce valid well-formed
XHTML code, something
 which KSES does not do.

Features:

 * Configurable KSES or HTML Purifier
 * Configurable list of HTML elements and attributes for both KSES and HTML purifier
 * Additionally process comments with HTML Tidy
 * URL blacklist
 * Fully localized (and awaiting translations)
 * Automatically escape PHP or anything inside backticks

HTML Purifier is available in:

 * English
 * Spanish, thanks to José Cuesta
 * Belorussian, thanks to Marcis Gasuns
 * Russian, thanks to Ilyuha
 * Uzbekistan, thanks to Alexandra Bolshova
 * Dutch, thanks to Pieter
 * German, thanks to Andreas Beraz
 * Polish, thanks to Kasia Ciszewski & Dawid Śpiechowicz
 * Romanian, thanks to Alina @ InboxTranslations.com
 * Lithuanian, thanks to Nata Strazda
 * Ukranian, thanks to Iflexion Design

### Documentation

Full documentation can be found on the [HTML Purified](http://urbangiraffe.com/plugins/html-purified/)
page.

## Captures

[⌊Main options page allowing specific HTML tags⌉⌊Main options page allowing specific
HTML tags⌉[

Main options page allowing specific HTML tags

[⌊Specific configuration options for HTML Purifier⌉⌊Specific configuration options
for HTML Purifier⌉[

Specific configuration options for HTML Purifier

## Instal·lació

The plugin is simple to install:

 1. Download `html-purified.zip`
 2. Unzip
 3. Upload html-purified directory to your `/wp-content/plugins` directory
 4. Go to the plugin management page and enable the plugin
 5. Configure the options from the `Options/HTML Purified` page

You can find full details of installing a plugin on the [plugin installation page](http://urbangiraffe.com/articles/how-to-install-a-wordpress-plugin/).

## PMF

  Why would I want to replace the default WordPress filter?

There is nothing fundamentally wrong with the way WordPress filters comments, and
in fact there has been no security alert related to this. However, this doesn’t 
detract from the desire to make things better, and the fact that HTML Purifier is
much more thorough and exhaustive.

  Does this plugin also protect posts?

Not currently, no, but it is planned for a future version

## Ressenyes

No hi ha ressenyes per a aquesta extensió.

## Col·laboradors i desenvolupadors

«HTML Purified» és programari de codi obert. La següent gent ha col·laborat en aquesta
extensió.

Col·laboradors

 *   [ John Godley ](https://profiles.wordpress.org/johnny5/)

[Traduïu «HTML Purified» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/html-purified)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/html-purified/), 
baixeu-vos el [repositori SVN](https://plugins.svn.wordpress.org/html-purified/),
o subscriviu-vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/html-purified/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/html-purified/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

#### 0.2

 * Initial released version

#### 0.2.1

 * Change cache directory
 * Allow no tag
 * Update HTML purifier to 2.0.1

#### 0.2.2

 * Update HTML purifier to 2.1.1

#### 0.2.4

 * Fix cache directory write error

#### 0.2.5

 * Add Spanish localization

#### 0.2.6

 * Add auto-escape PHP option
 * Update to HTML purifier 2.1.2

#### 0.2.7

 * Add option for bbcode-style tags
 * Update to HTML Purifier 2.1.3

#### 0.2.8

 * Now works in bbPress!

#### 0.2.9

 * Update plugin library

#### 0.3.0

 * HTML Purifier PHP4 2.1.5, PHP5 3.1.1 – WP 2.5.1

#### 0.3.1

 * WP 2.6

#### 0.3.2

 * Update base library

#### 0.3.3

 * bbPress working again
 * Clean up code

#### 0.3.4

 * WP 2.8
 * Support for syntaxhighlighter
 * Fixes to backticks

#### 0.3.5

 * Add Uzbekistan
 * Add Russian

#### 0.4

 * PHP5 only
 * Update to HTML Purifier 4.2.0
 * Add German
 * Add Dutch

#### 0.5

 * Add Polish translation, thanks to Kasia Ciszewski & Dawid Śpiechowicz

#### 0.6

 * Add Lithuanian
 * Add Ukranian

#### 0.7

 * Code cleanup

## Meta

 *  Versió **0.7**
 *  Darrera actualització **fa 14 anys**
 *  Instal·lacions actives **50+**
 *  Versió del WordPress ** 2.9 o posterior **
 *  Provada fins a **3.3.2**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/html-purified/)
 * Etiquetes
 * [comments](https://ca.wordpress.org/plugins/tags/comments/)[security](https://ca.wordpress.org/plugins/tags/security/)
   [spam](https://ca.wordpress.org/plugins/tags/spam/)[xhtml](https://ca.wordpress.org/plugins/tags/xhtml/)
   [xss](https://ca.wordpress.org/plugins/tags/xss/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/html-purified/advanced/)

## Valoracions

Encara no s'ha enviat cap ressenya.

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

[Visualitzeu totes les ressenyes](https://wordpress.org/support/plugin/html-purified/reviews/)

## Col·laboradors

 *   [ John Godley ](https://profiles.wordpress.org/johnny5/)

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/html-purified/)

## Feu una donació

Voleu ajudar a què l’extensió millori?

 [ Feu una donació a aquesta extensió ](http://urbangiraffe.com/about/support/)