1
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-08-13 01:23:59 +02:00

Post rc skirmishes.

- Update docs
- Update source code comments in generated files
- release1-update.php now flushes after it finishes
- Make InterchangeBuilder alphabetize

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1676 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
Edward Z. Yang
2008-04-22 16:20:45 +00:00
parent 8fdf8c2e44
commit f46aef698e
7 changed files with 17 additions and 10 deletions

View File

@@ -75,9 +75,7 @@ passes through HTML Purifier <em>unharmed</em>.
<p>And the corresponding usage:</p>
<pre>&lt;?php
// assuming $purifier is an instance of HTMLPurifier
require_once 'HTMLPurifier/Filter/YouTube.php';
$purifier-&gt;addFilter(new HTMLPurifier_Filter_YouTube());
$config->set('Filter', 'YouTube', true);
?&gt;</pre>
<p>There is a bit going in the two code snippets, so let's explain.</p>