mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
fix summary regex after recent bbcode chane
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user