From 1ad81a570dbe7e1feda1a27e4b76c0ef840bdcad Mon Sep 17 00:00:00 2001 From: Cameron Date: Mon, 18 Mar 2013 05:06:35 -0700 Subject: [PATCH] Quick BC fix for TinyMce parser. --- e107_plugins/tinymce/plugins/e107bbcode/parser.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/e107_plugins/tinymce/plugins/e107bbcode/parser.php b/e107_plugins/tinymce/plugins/e107bbcode/parser.php index e26f8f13d..92a56390b 100644 --- a/e107_plugins/tinymce/plugins/e107bbcode/parser.php +++ b/e107_plugins/tinymce/plugins/e107bbcode/parser.php @@ -32,7 +32,8 @@ if($_POST['mode'] == 'tohtml') if(check_class($pref['post_html'])) // raw HTML within [html] tags. { - if(strstr($content,"[img]") || strstr($content, "[b]") || strstr($content, "[link")) // BC - convert old BB code text to html. + // Quick and dirty. + if(strstr($content,"[img]") || strstr($content, "[b]") || strstr($content, "[link") || strstr($content, "[youtube")) // BC - convert old BB code text to html. { e107::getBB()->clearClass();