mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-11-10 07:38:41 +00:00
16 lines
383 B
Plaintext
16 lines
383 B
Plaintext
|
--TEST--
|
||
|
DirectLex with domxml test
|
||
|
--SKIPIF--
|
||
|
<?php
|
||
|
if (!extension_loaded('dom')) {
|
||
|
echo "skip - dom not available";
|
||
|
} elseif (!extension_loaded('domxml')) {
|
||
|
echo "skip - domxml not loaded";
|
||
|
}
|
||
|
--FILE--
|
||
|
<?php
|
||
|
require '../library/HTMLPurifier.auto.php';
|
||
|
echo get_class(HTMLPurifier_Lexer::create(HTMLPurifier_Config::createDefault()));
|
||
|
--EXPECT--
|
||
|
HTMLPurifier_Lexer_DirectLex
|