From d50381c9c67e097cf3eae73f0311191acca8f0a5 Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 18 Feb 2021 20:36:56 +0000 Subject: fix summary regex after recent bbcode chane --- include/bbcode.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/bbcode.php') diff --git a/include/bbcode.php b/include/bbcode.php index 2832a7627..4580516a5 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -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 -- cgit v1.2.3