diff options
author | Mario Vavti <mario@mariovavti.com> | 2019-05-15 11:38:23 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2019-05-15 11:38:23 +0200 |
commit | 3c8867a1e861f75cb7a11e2ea6a15b2d2e457b7b (patch) | |
tree | e34fc6f86b55bd829b526caf09cfbb76bd066354 | |
parent | 71ecb470b637494337a06a961d921d5c5371c322 (diff) | |
download | volse-hubzilla-3c8867a1e861f75cb7a11e2ea6a15b2d2e457b7b.tar.gz volse-hubzilla-3c8867a1e861f75cb7a11e2ea6a15b2d2e457b7b.tar.bz2 volse-hubzilla-3c8867a1e861f75cb7a11e2ea6a15b2d2e457b7b.zip |
missing backslash
-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) { |