mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
Merge branch '3.2.x'
This commit is contained in:
@@ -323,6 +323,9 @@ class factory implements \phpbb\textformatter\cache_interface
|
||||
// Only parse emoticons at the beginning of the text or if they're preceded by any
|
||||
// one of: a new line, a space, a dot, or a right square bracket
|
||||
$configurator->Emoticons->notAfter = '[^\\n .\\]]';
|
||||
|
||||
// Ignore emoticons that are immediately followed by a "word" character
|
||||
$configurator->Emoticons->notBefore = '\\w';
|
||||
}
|
||||
|
||||
// Load the censored words
|
||||
|
Reference in New Issue
Block a user