mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 13:48:55 +00:00
[ticket/14821] Simplify regex for converting <strong> tags back to HTML
PHPBB3-14821
This commit is contained in:
parent
1f0c616974
commit
d98a1c4bc4
1 changed files with 1 additions and 1 deletions
|
@ -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())
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue