aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-09-21 05:43:26 -0700
committerFriendika <info@friendika.com>2011-09-21 05:43:26 -0700
commit11ca81adbaa033123ca1aa2c354fb3be6f5225d0 (patch)
treec987c2b5efe4b02680dc7f5e97ba60fbd74173aa /include
parent9115e9c90b749e1739d412df2d63ae96e0b89b3e (diff)
downloadvolse-hubzilla-11ca81adbaa033123ca1aa2c354fb3be6f5225d0.tar.gz
volse-hubzilla-11ca81adbaa033123ca1aa2c354fb3be6f5225d0.tar.bz2
volse-hubzilla-11ca81adbaa033123ca1aa2c354fb3be6f5225d0.zip
keychecks
Diffstat (limited to 'include')
-rw-r--r--include/bb2diaspora.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/bb2diaspora.php b/include/bb2diaspora.php
index 3d6408bcf..c72c78445 100644
--- a/include/bb2diaspora.php
+++ b/include/bb2diaspora.php
@@ -11,6 +11,10 @@ function diaspora2bb($s) {
$s = preg_replace('/\@\{(.+?)\; (.+?)\@(.+?)\}/','@[url=https://$3/u/$2]$1[/url]',$s);
$s = Markdown($s);
$s = html2bbcode($s);
+
+// $s = preg_replace('/\[url=(.+?)\<em\>(.+?)\]/ism','[url=$1_$2]',$s);
+// $s = preg_replace('/\[url=(.+?)\<\/em\>(.+?)\]/ism','[url=$1_$2]',$s);
+
return $s;
}