From 0ab3485a84bd177d075dac551243830f68d87c2d Mon Sep 17 00:00:00 2001 From: Cameron Date: Wed, 31 Jan 2018 14:10:41 -0800 Subject: [PATCH] Fix for [img] class in TinyMce. --- e107_handlers/bbcode_handler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_handlers/bbcode_handler.php b/e107_handlers/bbcode_handler.php index 6a6a669c0..5ae2c6049 100644 --- a/e107_handlers/bbcode_handler.php +++ b/e107_handlers/bbcode_handler.php @@ -716,7 +716,7 @@ class e_bbcode $cls = array(); foreach($tmp as $v) { - if($v === 'img-rounded' || $v === 'rounded' || $v === 'bbcode' || $v === 'bbcode-img-news' || $v === 'bbcode-img') + if($v === 'img-rounded' || $v === 'rounded' || strpos($v,'bbcode') === 0 ) { continue; }