From afaacd134c7127a66741c452818f9bfc00d48dd8 Mon Sep 17 00:00:00 2001 From: Friendika Date: Thu, 30 Dec 2010 18:43:42 -0800 Subject: [PATCH] linkify audio/video links for non-html5 browsers (or those with unsupported codecs?) --- include/bbcode.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/bbcode.php b/include/bbcode.php index 646401ddb..ef31f5a66 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]