diff --git a/sample/common.php b/sample/common.php index 886de7f..44811c8 100644 --- a/sample/common.php +++ b/sample/common.php @@ -152,7 +152,9 @@ class ResultPrinter protected static function printObject($object, $error = null) { if ($error) { - echo '
'. $error . '
'; + echo '

'. + $error. + '

'; } if ($object) { if (is_a($object, 'PayPal\Common\PPModel')) { diff --git a/sample/header.html b/sample/header.html index 02ab33d..c6966ef 100644 --- a/sample/header.html +++ b/sample/header.html @@ -22,7 +22,7 @@ overflow-y: auto; overflow-wrap: normal; } - pre.error { + pre.error, div.error, p.error { border-color: red; color: red; overflow-y: visible;