Index: _whatsnew.html =================================================================== --- _whatsnew.html (revision 2075) +++ _whatsnew.html (working copy) @@ -51,6 +51,9 @@ nodeTagName object.
Index: editor/_source/internals/fcktools.js =================================================================== --- editor/_source/internals/fcktools.js (revision 2075) +++ editor/_source/internals/fcktools.js (working copy) @@ -81,7 +81,7 @@ if ( typeof( cssFileOrArrayOrDef ) == 'string' ) { // Test if the passed argument is an URL. - if ( /[\\\/\.]\w*$/.test( cssFileOrArrayOrDef ) ) + if ( /[\\\/\.][^{}]*$/.test( cssFileOrArrayOrDef ) ) { // The string may have several URLs separated by comma. return this.AppendStyleSheet( domDocument, cssFileOrArrayOrDef.split(',') ) ; @@ -126,7 +126,7 @@ if ( typeof( cssFileOrArrayOrDef ) == 'string' ) { // Test if the passed argument is an URL. - if ( /[\\\/\.]\w*$/.test( cssFileOrArrayOrDef ) ) + if ( /[\\\/\.][^{}]*$/.test( cssFileOrArrayOrDef ) ) { // The string may have several URLs separated by comma. return this.GetStyleHtml( cssFileOrArrayOrDef.split(','), markTemp ) ;