mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
Merge pull request #4482 from marc1706/ticket/14821
[ticket/14821] Replace escaped strong tags with actual tags
This commit is contained in:
commit
05d0879795
1 changed files with 3 additions and 0 deletions
|
@ -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'));
|
||||||
|
|
Loading…
Add table
Reference in a new issue