mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/14821] Simplify regex for converting <strong> tags back to HTML
PHPBB3-14821
This commit is contained in:
@@ -69,7 +69,7 @@ class kernel_exception_subscriber implements EventSubscriberInterface
|
||||
}
|
||||
|
||||
// Show <strong> text in bold
|
||||
$message = preg_replace('#<(/?)(strong)>#i', '<$1$2>', $message);
|
||||
$message = preg_replace('#<(/?strong)>#i', '<$1>', $message);
|
||||
|
||||
if (!$event->getRequest()->isXmlHttpRequest())
|
||||
{
|
||||
|
Reference in New Issue
Block a user