aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2019-05-15 11:38:23 +0200
committerMario Vavti <mario@mariovavti.com>2019-05-15 11:38:23 +0200
commit3c8867a1e861f75cb7a11e2ea6a15b2d2e457b7b (patch)
treee34fc6f86b55bd829b526caf09cfbb76bd066354 /include
parent71ecb470b637494337a06a961d921d5c5371c322 (diff)
downloadvolse-hubzilla-3c8867a1e861f75cb7a11e2ea6a15b2d2e457b7b.tar.gz
volse-hubzilla-3c8867a1e861f75cb7a11e2ea6a15b2d2e457b7b.tar.bz2
volse-hubzilla-3c8867a1e861f75cb7a11e2ea6a15b2d2e457b7b.zip
missing backslash
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 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) {