mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02:00
Merge pull request #4482 from marc1706/ticket/14821
[ticket/14821] Replace escaped strong tags with actual tags
This commit is contained in:
@@ -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()));
|
$message = call_user_func_array(array($this->user, 'lang'), array_merge(array($message), $exception->get_parameters()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Show <strong> text in bold
|
||||||
|
$message = preg_replace('#<(/?strong)>#i', '<$1>', $message);
|
||||||
|
|
||||||
if (!$event->getRequest()->isXmlHttpRequest())
|
if (!$event->getRequest()->isXmlHttpRequest())
|
||||||
{
|
{
|
||||||
page_header($this->user->lang('INFORMATION'));
|
page_header($this->user->lang('INFORMATION'));
|
||||||
|
Reference in New Issue
Block a user