1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-30 11:20:25 +02:00

TinyMce Image align left/right parsing fix.

This commit is contained in:
Cameron
2018-08-22 08:12:32 -07:00
parent 1f69d7cd0a
commit 7e4f22c80d
2 changed files with 4 additions and 4 deletions

View File

@@ -749,7 +749,7 @@ class e_bbcode
$cls = array();
foreach($tmp as $v)
{
if($v === 'img-rounded' || $v === 'rounded' || strpos($v,'bbcode') === 0 )
if($v === 'img-rounded' || $v === 'rounded' || (strpos($v,'bbcode') === 0 && $v !== 'bbcode-img-right' && $v !== 'bbcode-img-left' ))
{
continue;
}