diff --git a/system/expressionengine/third_party/easy_jail/pi.easy_jail.php b/system/expressionengine/third_party/easy_jail/pi.easy_jail.php index 944bec6..f92e670 100644 --- a/system/expressionengine/third_party/easy_jail/pi.easy_jail.php +++ b/system/expressionengine/third_party/easy_jail/pi.easy_jail.php @@ -113,7 +113,13 @@ function prep( $str='', $xhtml='', $class_name='', $blank_img='' ) if ( $name == 'src' ) { $src = $value; - } else { + } + elseif ( $name == 'class' ) + { + $class_name .= " {$value}"; + } + else + { $attributes[$name] = $name . '="' . $value . '"'; } }