Merge pull request #4482 from marc1706/ticket/14821

[ticket/14821] Replace escaped strong tags with actual tags
This commit is contained in:
Máté Bartus 2016-10-20 18:33:48 +02:00
commit 05d0879795

View file

@ -68,6 +68,9 @@ class kernel_exception_subscriber implements EventSubscriberInterface
$message = call_user_func_array(array($this->user, 'lang'), array_merge(array($message), $exception->get_parameters()));
}
// Show <strong> text in bold
$message = preg_replace('#&lt;(/?strong)&gt;#i', '<$1>', $message);
if (!$event->getRequest()->isXmlHttpRequest())
{
page_header($this->user->lang('INFORMATION'));