Welcome! » Log In » Create A New Profile

[Misc] Difference between regular and strict HTMLPurifier

Posted by screenmates 
[Misc] Difference between regular and strict HTMLPurifier
March 12, 2007 02:57PM

I notice there are two editions of HTMLPurifier regular and 'strict'. What's are their differences and when/where do we use them?

Thanks much for this excellent/well-writen class!!

Keep up the good work...

Edited 2 time(s). Last edit at 04/02/2007 06:32AM by Ambush Commander.

Re: Difference between regular and strict purifier
March 12, 2007 02:59PM

Hi, if you use PHP 5, you may use the "Strict" version. If you use PHP 4, you must use the regular version.

HTML Purifier, Standards Compliant HTML Filtering

Re: Difference between regular and strict HTMLPurifier
March 12, 2007 03:00PM

Thank You for the quick reply! Even the support seems to be equally EXCELLENT!

Edited 1 time(s). Last edit at 03/12/2007 12:01PM by screenmates.

Re: Difference between regular and strict HTMLPurifier
March 12, 2007 03:02PM

You're welcome! I hope you find that HTML Purifier is helpful for you.

HTML Purifier, Standards Compliant HTML Filtering

Edited 1 time(s). Last edit at 03/12/2007 12:02PM by Ambush Commander.

Author:
Your Email:

Subject:

HTML input is enabled. Make sure you escape all HTML and angled brackets with < and >.

Auto-paragraphing is enabled. Double newlines will be converted to paragraphs; for single newlines, use the pre tag.

Allowed tags: a, abbr, acronym, b, blockquote, caption, cite, code, dd, del, dfn, div, dl, dt, em, i, ins, kbd, li, ol, p, pre, s, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, var.

For inputting literal code such as HTML and PHP for display, use CDATA tags to auto-escape your angled brackets, and pre to preserve newlines:

<pre><![CDATA[
Place code here
]]></pre>

Power users, you can hide this notice with:

.htmlpurifier-help {display:none;}

Message: