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:
parent
b55b0b608f
commit
1ad81a570d
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user