Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <h1>HTML Purifier project</h1> <p>Personally I have had very good results with the <a href="http://htmlpurifier.org/" rel="noreferrer">HTML Purifier project</a></p> <p>It is highly customizable and has a huge code base. The only issue is uploading the files to your server.</p> <p>Are you sure you have not got a configuration issue with your installation? As the purifier should not let through any HTML tags at all if configured correctly.</p> <p><strong>From the web site:</strong></p> <blockquote> <p>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,<br> 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.<br> Tired of using BBCode due to the current landscape of deficient or<br> insecure HTML filters? Have a<br> WYSIWYG editor but never been able to use it? Looking for high-quality, standards-compliant, open-source components for that application you're building? HTML Purifier is for you!</p> </blockquote> <p>I wrote an article about how to use the <a href="http://logicflip.com/2009/05/using-html-purifier-in-code-igniter-to-clean-user-generated-content/" rel="noreferrer">HTML purifier library with CodeIgniter</a> here.</p> <p>Maybe it will help with giving it another try:</p> <pre><code>// load the config and overide defaults as necessary $config = HTMLPurifier_Config::createDefault(); $config-&gt;set('HTML', 'Doctype', 'XHTML 1.0 Transitional'); $config-&gt;set('HTML', 'AllowedElements', 'a,em,blockquote,p,strong,pre,code'); $config-&gt;set('HTML', 'AllowedAttributes', 'a.href,a.title'); $config-&gt;set('HTML', 'TidyLevel', 'light'); </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload