diff options
author | Mario Vavti <mario@mariovavti.com> | 2019-05-15 09:38:23 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2019-05-15 11:40:36 +0200 |
commit | 29c5e74d3103a200470d799d6542a85a7a46c7d0 (patch) | |
tree | d6aedea2ef39631b4f43377f315ac7e26e9ec210 | |
parent | c439fe043744f5cf4dc85b8029b2840eff46ed81 (diff) | |
download | volse-hubzilla-29c5e74d3103a200470d799d6542a85a7a46c7d0.tar.gz volse-hubzilla-29c5e74d3103a200470d799d6542a85a7a46c7d0.tar.bz2 volse-hubzilla-29c5e74d3103a200470d799d6542a85a7a46c7d0.zip |
missing backslash
(cherry picked from commit 3c8867a1e861f75cb7a11e2ea6a15b2d2e457b7b)
-rw-r--r-- | include/bbcode.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bbcode.php b/include/bbcode.php index 70183fda3..485a1f5b2 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -987,7 +987,7 @@ function bbcode($Text, $options = []) { // this is replaced in prepare_body() which has knowledge of the item location if ($cache) { $Text = str_replace([ '[map]','[/map]' ], [ '','' ], $Text); - $Text = preg_replace('/[map=(.*?)\]/ism','$1',$Text); + $Text = preg_replace('/\[map=(.*?)\]/ism','$1',$Text); } else { if (strpos($Text,'[/map]') !== false) { |