aboutsummaryrefslogtreecommitdiffstats
path: root/include/bb2diaspora.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2011-12-20 17:01:41 -0800
committerfriendica <info@friendica.com>2011-12-20 17:01:41 -0800
commit7fbfbdae0700e68a465f70963521b9043fe5de30 (patch)
tree8624a6331bbaa3604af5e203d31253054933c030 /include/bb2diaspora.php
parentc0c4c46874ed7e1798900422112ca643c1bb3cc0 (diff)
downloadvolse-hubzilla-7fbfbdae0700e68a465f70963521b9043fe5de30.tar.gz
volse-hubzilla-7fbfbdae0700e68a465f70963521b9043fe5de30.tar.bz2
volse-hubzilla-7fbfbdae0700e68a465f70963521b9043fe5de30.zip
audio/video bb tags showing up on Diaspora
Diffstat (limited to 'include/bb2diaspora.php')
-rw-r--r--include/bb2diaspora.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/bb2diaspora.php b/include/bb2diaspora.php
index eb709e01d..0e001df35 100644
--- a/include/bb2diaspora.php
+++ b/include/bb2diaspora.php
@@ -173,9 +173,9 @@ function bb2diaspora($Text,$preserve_nl = false) {
// html5 video and audio
-// $Text = preg_replace("/\[video\](.*?)\[\/video\]/", '<video src="$1" controls="controls" width="425" height="350"><a href="$1">$1</a></video>', $Text);
+ $Text = preg_replace("/\[video\](.*?)\[\/video\]/", '$1', $Text);
-// $Text = preg_replace("/\[audio\](.*?)\[\/audio\]/", '<audio src="$1" controls="controls"><a href="$1">$1</a></audio>', $Text);
+ $Text = preg_replace("/\[audio\](.*?)\[\/audio\]/", '$1', $Text);
// $Text = preg_replace("/\[iframe\](.*?)\[\/iframe\]/", '<iframe src="$1" width="425" height="350"><a href="$1">$1</a></iframe>', $Text);