From: Friendika Date: Fri, 31 Dec 2010 02:43:42 +0000 (-0800) Subject: linkify audio/video links for non-html5 browsers (or those with unsupported codecs?) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=afaacd134c7127a66741c452818f9bfc00d48dd8;p=friendica.git linkify audio/video links for non-html5 browsers (or those with unsupported codecs?) --- diff --git a/include/bbcode.php b/include/bbcode.php index 646401ddb5..ef31f5a665 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -80,9 +80,9 @@ function bbcode($Text) { // html5 video and audio - $Text = preg_replace("/\[video\](.+?)\[\/video\]/", '', $Text); + $Text = preg_replace("/\[video\](.+?)\[\/video\]/", '', $Text); - $Text = preg_replace("/\[audio\](.+?)\[\/audio\]/", '', $Text); + $Text = preg_replace("/\[audio\](.+?)\[\/audio\]/", '', $Text); // [img=widthxheight]image source[/img]