Ticket #3408: 3408_2.patch

File 3408_2.patch, 582 bytes (added by Artur Formella, 15 years ago)
  • _source/core/htmlparser/element.js

     
    166166                        {
    167167                                for ( a in attributes )
    168168                                {
    169                                         writer.attribute( a, attributes[ a ] );
     169                                        var value = attributes[ a ];
     170
     171                                        if ( filter && ( !( a = filter.onAttributeName( a ) ) || ( value = filter.onAttribute( element, a, value ) ) === false ) )
     172                                                continue;
     173
     174                                        writer.attribute( a, value );
    170175                                }
    171176                        }
    172177
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy