Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 't/9972' into major
  • Loading branch information
Reinmar committed Jan 22, 2013
2 parents 091cb61 + f980085 commit 5135d41
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions core/htmlparser/element.js
Expand Up @@ -229,6 +229,10 @@ CKEDITOR.htmlParser.cssStyle = function() {
if ( i == 1 )
attribsArray.push( [ a, value ] );
else if ( filter ) {
// Loop until name isn't modified.
// A little bit senseless, but IE would do that anyway
// because it iterates with for-in loop even over properties
// created during its run.
while ( true ) {
if ( !( newAttrName = filter.onAttributeName( a ) ) ) {
delete attributes[ a ];
Expand Down
2 changes: 1 addition & 1 deletion core/htmlparser/filter.js
Expand Up @@ -146,7 +146,7 @@

if ( itemsLength ) {
// Find the index to insert the items at.
for ( i = 0; i < listLength && list[ i ].pri < priority; i++ ) {
for ( i = 0; i < listLength && list[ i ].pri <= priority; i++ ) {
/*jsl:pass*/
}

Expand Down

0 comments on commit 5135d41

Please sign in to comment.