outputhtml : Display the XML errors before using them
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4837 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -126,7 +126,12 @@ EOT;
|
||||
if (! empty ($errors))
|
||||
{
|
||||
echo "ERROR: Invalid HTML provided\n";
|
||||
echo "<pre>";var_dump ($errors);echo "</pre>";
|
||||
echo "<pre>";var_dump ($errors);
|
||||
foreach (explode ("\n", $layoutPage) as $key => $val)
|
||||
{
|
||||
echo sprintf ("%5d", $key+1)." ".htmlentities ($val)."\n";
|
||||
}
|
||||
echo "</pre>";
|
||||
exit;
|
||||
}
|
||||
foreach (array ("script" => "src", "link" => "href", "img" => "src")
|
||||
|
||||
Reference in New Issue
Block a user