Ticket #3502: 3502.patch

File 3502.patch, 1.7 KB (added by Alfonso Martínez de Lizarrondo, 13 years ago)

Proposed patch

  • _source/tests/plugins/styles/styles.html

     
    345345                        var style = new CKEDITOR.style( { element : 'i' } );
    346346                        style.applyToRange( range );
    347347
    348                         assert.areSame( 'this is some <strong><i>sample</i> text<\/strong>. you are using <a href="http://www.fckeditor.net/">CKEditor<\/a>.', getInnerHtml( '_P1' ) );
     348                        assert.areSame( 'this is some <strong><i>sample</i> text<\/strong>. you are using <a href="http://www.fckeditor.net/">ckeditor<\/a>.', getInnerHtml( '_P1' ) );
    349349                },
    350350
    351351                test_checkElementRemovable1 : function()
     
    441441                        style = new CKEDITOR.style( styleDef, { 'family' : 'Comic Sans MS,cursive' } );
    442442                        style.applyToRange( range );
    443443
    444                         style = new CKEDITOR.style( styleDef, { 'family' : 'Courier New,Courier,monospace' } );
     444                        style = new CKEDITOR.style( styleDef, { 'family' : '\'Courier New\',Courier,monospace' } );
    445445                        style.applyToRange( range );
    446446
    447                         assert.areSame( '<span style="font-family:couriernew,courier,monospace;">outter</span><table><tbody><tr><td><span style="font-family:couriernew,courier,monospace;">text</span></td></tr></tbody></table><span style="font-family:couriernew,courier,monospace;">outter</span>', getInnerHtml( element ) );
     447                        assert.areSame( '<span style="font-family:\'couriernew\',courier,monospace;">outter</span><table><tbody><tr><td><span style="font-family:\'couriernew\',courier,monospace;">text</span></td></tr></tbody></table><span style="font-family:\'couriernew\',courier,monospace;">outter</span>', getInnerHtml( element ) );
    448448                },
    449449
    450450                test_ticket_3091_2 : function()
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy