mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-08-06 14:16:32 +02:00
Fix newline issues in tests.
Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com>
This commit is contained in:
@@ -12,7 +12,8 @@ require '../library/HTMLPurifier.auto.php';
|
||||
require 'HTMLPurifier/PHPT/loading/_autoload.inc';
|
||||
$config = HTMLPurifier_Config::createDefault();
|
||||
$purifier = new HTMLPurifier($config);
|
||||
echo $purifier->purify('<b>Salsa!') . PHP_EOL;
|
||||
echo $purifier->purify('<b>Salsa!') . "
|
||||
";
|
||||
|
||||
--EXPECT--
|
||||
<b>Salsa!</b>
|
||||
|
Reference in New Issue
Block a user