1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-13 17:09:46 +01:00

Quick BC fix for TinyMce parser.

This commit is contained in:
Cameron 2013-03-18 05:06:35 -07:00
parent b55b0b608f
commit 1ad81a570d

View File

@ -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();