1
0
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:
Edward Z. Yang
2008-11-26 15:30:59 -05:00
parent e128c09132
commit 6691676666
6 changed files with 18 additions and 7 deletions

View File

@@ -8,7 +8,8 @@ if (!function_exists('spl_autoload_register')) {
--FILE--
<?php
function __autoload($class) {
echo "Autoloading $class..." . PHP_EOL;
echo "Autoloading $class...
";
eval("class $class {}");
}
@@ -16,7 +17,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!') . "
";
// purposely invoke older autoload
$bar = new Bar();