X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_source%2Fplugins%2Ffakeobjects%2Fplugin.js;h=58c5bcd43aab18b912bdf7d815fce4f8c2f3d47b;hp=137c677f99ef6bd0c29002894a8a0acb05fc1ad8;hb=7cd80714081a8ffdf4a1a8d2c72f120ed5ef3d6d;hpb=8761695d9b70afe75905deaac88f78c1f8aeb32d diff --git a/_source/plugins/fakeobjects/plugin.js b/_source/plugins/fakeobjects/plugin.js index 137c677..58c5bcd 100644 --- a/_source/plugins/fakeobjects/plugin.js +++ b/_source/plugins/fakeobjects/plugin.js @@ -25,11 +25,11 @@ For licensing, see LICENSE.html or http://ckeditor.com/license if ( style ) { // Get the width from the style. - var match = /(?:^|\s)width\s*:\s*(\d+)/.exec( style ), + var match = /(?:^|\s)width\s*:\s*(\d+)/i.exec( style ), width = match && match[1]; // Get the height from the style. - match = /(?:^|\s)height\s*:\s*(\d+)/.exec( style ); + match = /(?:^|\s)height\s*:\s*(\d+)/i.exec( style ); var height = match && match[1]; if ( width )