Exception.php (mrbs-1.9.4) | : | Exception.php (mrbs-1.10.0) | ||
---|---|---|---|---|
skipping to change at line 38 | skipping to change at line 38 | |||
*/ | */ | |||
class Exception extends \Exception | class Exception extends \Exception | |||
{ | { | |||
/** | /** | |||
* Prettify error message output. | * Prettify error message output. | |||
* | * | |||
* @return string | * @return string | |||
*/ | */ | |||
public function errorMessage() | public function errorMessage() | |||
{ | { | |||
return '<strong>' . htmlspecialchars($this->getMessage()) . "</strong><b r />\n"; | return '<strong>' . htmlspecialchars($this->getMessage(), ENT_COMPAT | E NT_HTML401) . "</strong><br />\n"; | |||
} | } | |||
} | } | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |