mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-12-23 00:41:52 +00:00
Fix typo in sample PHP code.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1399 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
parent
fb367dc871
commit
37a80f1295
2
NEWS
2
NEWS
@ -14,7 +14,7 @@ NEWS ( CHANGELOG and HISTORY ) HTMLPurifier
|
|||||||
! Implemented experimental HTML5 parsing mode using PH5P. To use, add
|
! Implemented experimental HTML5 parsing mode using PH5P. To use, add
|
||||||
this to your code:
|
this to your code:
|
||||||
require_once 'HTMLPurifier/Lexer/PH5P.php';
|
require_once 'HTMLPurifier/Lexer/PH5P.php';
|
||||||
$config->set('Core', 'LexerImpl', PH5P');
|
$config->set('Core', 'LexerImpl', 'PH5P');
|
||||||
Note that this Lexer introduces some classes not in the HTMLPurifier
|
Note that this Lexer introduces some classes not in the HTMLPurifier
|
||||||
namespace. Also, this is PHP5 only.
|
namespace. Also, this is PHP5 only.
|
||||||
- Fix non-visible parsing error in DirectLex with empty tags that have
|
- Fix non-visible parsing error in DirectLex with empty tags that have
|
||||||
|
Loading…
Reference in New Issue
Block a user