aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
authorMáté Bartus <mate.bartus@gmail.com>2016-10-20 18:33:48 +0200
committerMáté Bartus <mate.bartus@gmail.com>2016-10-20 18:33:48 +0200
commit05d0879795236e5fc4ae07145c0d7bcab05e5c15 (patch)
tree56dc45e0cddf48c5454da05e8028306c2432e383 /phpBB/phpbb
parent1dd0ceabf6e3cdc49ea6a2abe3ad8fcece4cca31 (diff)
parentd98a1c4bc4018f8d75d9e98cf7ec70fbf864bfb0 (diff)
downloadforums-05d0879795236e5fc4ae07145c0d7bcab05e5c15.tar
forums-05d0879795236e5fc4ae07145c0d7bcab05e5c15.tar.gz
forums-05d0879795236e5fc4ae07145c0d7bcab05e5c15.tar.bz2
forums-05d0879795236e5fc4ae07145c0d7bcab05e5c15.tar.xz
forums-05d0879795236e5fc4ae07145c0d7bcab05e5c15.zip
Merge pull request #4482 from marc1706/ticket/14821
[ticket/14821] Replace escaped strong tags with actual tags
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r--phpBB/phpbb/event/kernel_exception_subscriber.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/phpbb/event/kernel_exception_subscriber.php b/phpBB/phpbb/event/kernel_exception_subscriber.php
index 34c8422b0a..9d15f9370e 100644
--- a/phpBB/phpbb/event/kernel_exception_subscriber.php
+++ b/phpBB/phpbb/event/kernel_exception_subscriber.php
@@ -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'));