cvs: pearweb /include pear-format-html.php
| From: | Helgi �ormar �orbj�rnsson | Date: | Wed, 16 Apr 2008 22:14:15 +0000 |
| Subject: | cvs: pearweb /include pear-format-html.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-7476@lists.php.net to get a copy of this message | ||
dufuz Wed Apr 16 22:14:15 2008 UTC
Modified files:
/pearweb/include pear-format-html.php
Log:
remove htmlspecialchars from the error handler, danielc added it just in case and I've seen
it do nothing but hinder us in styling the error messages like we want
http://cvs.php.net/viewvc.cgi/pearweb/include/pear-format-html.php?r1=1.268&r2=1.269&diff_format=u
Index: pearweb/include/pear-format-html.php
diff -u pearweb/include/pear-format-html.php:1.268 pearweb/include/pear-format-html.php:1.269
--- pearweb/include/pear-format-html.php:1.268 Sat Apr 5 22:59:24 2008
+++ pearweb/include/pear-format-html.php Wed Apr 16 22:14:15 2008
@@ -15,7 +15,7 @@
+----------------------------------------------------------------------+
| Authors: |
+----------------------------------------------------------------------+
- $Id: pear-format-html.php,v 1.268 2008/04/05 22:59:24 dufuz Exp $
+ $Id: pear-format-html.php,v 1.269 2008/04/16 22:14:15 dufuz Exp $
*/
PEAR::setErrorHandling(PEAR_ERROR_CALLBACK, 'error_handler');
@@ -515,7 +515,7 @@
$msg = $msg->getMessage();
}
}
- echo '<li>' . htmlspecialchars($msg) . "</li>\n";
+ echo '<li>' . $msg . "</li>\n";
}
echo "</ul></div>\n";
return true;