fix summary regex after recent bbcode chane

This commit is contained in:
Mario
2021-02-18 20:36:56 +00:00
parent c9bbe1a735
commit d50381c9c6
2 changed files with 2 additions and 2 deletions

View File

@@ -1417,7 +1417,7 @@ function bbcode($Text, $options = []) {
if(strpos($Text,'[/summary]') !== false) {
$Text = preg_replace_callback("/^(.*?)\[summary\](.*?)\[\/summary\](.*?)$/ism", 'bb_summary', $Text);
$Text = preg_replace_callback("/^(.*?)\[summary\](.*?)\[\/summary\](.*?)$/is", 'bb_summary', $Text);
}
// Check for [spoiler] text