outputhtml : revert the display of HTML errors (if JS is present, the error are needed)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5106 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -127,7 +127,7 @@ EOT;
|
||||
unset ($errors[$key]);
|
||||
}
|
||||
libxml_clear_errors();
|
||||
if (! empty ($errors))
|
||||
/* if (! empty ($errors))
|
||||
{
|
||||
echo "ERROR: Invalid HTML provided\n";
|
||||
echo "<pre>"; print_r ($errors);
|
||||
@@ -137,7 +137,7 @@ EOT;
|
||||
}
|
||||
echo "</pre>";
|
||||
exit;
|
||||
}
|
||||
}*/
|
||||
foreach (array ("script" => "src", "link" => "href", "img" => "src")
|
||||
as $key=>$val)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user