cssClass = attributes[ 'class' ],\r
border = parseInt( attributes.border, 10 );\r
\r
- if ( !border || border <= 0 )\r
+ if ( ( !border || border <= 0 ) && ( !cssClass || cssClass.indexOf( showBorderClassName ) == -1 ) )\r
attributes[ 'class' ] = ( cssClass || '' ) + ' ' + showBorderClassName;\r
}\r
}\r