File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -229,6 +229,10 @@ CKEDITOR.htmlParser.cssStyle = function() {
229
229
if ( i == 1 )
230
230
attribsArray . push ( [ a , value ] ) ;
231
231
else if ( filter ) {
232
+ // Loop until name isn't modified.
233
+ // A little bit senseless, but IE would do that anyway
234
+ // because it iterates with for-in loop even over properties
235
+ // created during its run.
232
236
while ( true ) {
233
237
if ( ! ( newAttrName = filter . onAttributeName ( a ) ) ) {
234
238
delete attributes [ a ] ;
Original file line number Diff line number Diff line change 146
146
147
147
if ( itemsLength ) {
148
148
// Find the index to insert the items at.
149
- for ( i = 0 ; i < listLength && list [ i ] . pri < priority ; i ++ ) {
149
+ for ( i = 0 ; i < listLength && list [ i ] . pri <= priority ; i ++ ) {
150
150
/*jsl:pass*/
151
151
}
152
152
You can’t perform that action at this time.
0 commit comments