From b7abdf8795de0ad36a2cb99d4fc40ab60f50f038 Mon Sep 17 00:00:00 2001 From: Friendika Date: Thu, 9 Dec 2010 13:41:08 -0800 Subject: [PATCH] fix youtube videos on FF --- include/bbcode.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/bbcode.php b/include/bbcode.php index fbae7bc32..351510f6d 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -80,7 +80,7 @@ function bbcode($Text) { // Youtube extensions $Text = preg_replace("/\[youtube\]http:\/\/www.youtube.com\/watch\?v\=(.+?)\[\/youtube\]/",'[youtube]$1[/youtube]',$Text); - $Text = preg_replace("/\[youtube\](.+?)\[\/youtube\]/", '', $Text); + $Text = preg_replace("/\[youtube\](.+?)\[\/youtube\]/", '', $Text); return $Text; }