mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 14:57:37 +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
|
// Show <strong> text in bold
|
||||||
$message = preg_replace('#<(/?)(strong)>#i', '<$1$2>', $message);
|
$message = preg_replace('#<(/?strong)>#i', '<$1>', $message);
|
||||||
|
|
||||||
if (!$event->getRequest()->isXmlHttpRequest())
|
if (!$event->getRequest()->isXmlHttpRequest())
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user