aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-02-18 20:36:56 +0000
committerMario <mario@mariovavti.com>2021-02-18 20:36:56 +0000
commitd50381c9c67e097cf3eae73f0311191acca8f0a5 (patch)
treeb23ac68e6e24e20cff5ee25122254d867d6af29c /include
parentc9bbe1a735836b3a3ef5eccbeca85ebef75b3ac2 (diff)
downloadvolse-hubzilla-d50381c9c67e097cf3eae73f0311191acca8f0a5.tar.gz
volse-hubzilla-d50381c9c67e097cf3eae73f0311191acca8f0a5.tar.bz2
volse-hubzilla-d50381c9c67e097cf3eae73f0311191acca8f0a5.zip
fix summary regex after recent bbcode chane
Diffstat (limited to 'include')
-rw-r--r--include/bbcode.php2
1 files changed, 1 insertions, 1 deletions
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