aboutsummaryrefslogtreecommitdiffstats
path: root/include/bb2diaspora.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-12-14 13:17:33 +0100
committerMario Vavti <mario@mariovavti.com>2016-12-14 13:18:02 +0100
commita7af6d8a3cabbf5fc87efe395ed3b5b6c0bfc655 (patch)
tree4bfc6d8af33651661a7916a1b3c03699a97defe0 /include/bb2diaspora.php
parent028935a318e5848542faa551f3d39bbe8b365447 (diff)
downloadvolse-hubzilla-a7af6d8a3cabbf5fc87efe395ed3b5b6c0bfc655.tar.gz
volse-hubzilla-a7af6d8a3cabbf5fc87efe395ed3b5b6c0bfc655.tar.bz2
volse-hubzilla-a7af6d8a3cabbf5fc87efe395ed3b5b6c0bfc655.zip
fix regex
Diffstat (limited to 'include/bb2diaspora.php')
-rw-r--r--include/bb2diaspora.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bb2diaspora.php b/include/bb2diaspora.php
index e22b6a7dd..ffb157b2f 100644
--- a/include/bb2diaspora.php
+++ b/include/bb2diaspora.php
@@ -149,7 +149,7 @@ function markdown_to_bb($s, $use_zrl = false) {
$s = html2bbcode($s);
- $s = preg_replace("/\[([uz])rl=(.*?)\]\[\/[uz]rl\]/ism",'[$1rl=$2]$2[/$1rl]',$s);
+ $s = preg_replace("/\[([uz])rl=(.*?)\]\[\[uz]rl\]/ism",'[$1rl=$2]$2[/$1rl]',$s);
// protect the recycle symbol from turning into a tag, but without unescaping angles and naked ampersands
$s = str_replace('&#x2672;',html_entity_decode('&#x2672;',ENT_QUOTES,'UTF-8'),$s);