JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.0.2
[ckeditor.git] / _source / plugins / fakeobjects / plugin.js
index 137c677..58c5bcd 100644 (file)
@@ -25,11 +25,11 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
                                        if ( style )\r
                                        {\r
                                                // Get the width from the style.\r
-                                               var match = /(?:^|\s)width\s*:\s*(\d+)/.exec( style ),\r
+                                               var match = /(?:^|\s)width\s*:\s*(\d+)/i.exec( style ),\r
                                                        width = match && match[1];\r
 \r
                                                // Get the height from the style.\r
-                                               match = /(?:^|\s)height\s*:\s*(\d+)/.exec( style );\r
+                                               match = /(?:^|\s)height\s*:\s*(\d+)/i.exec( style );\r
                                                var height = match && match[1];\r
 \r
                                                if ( width )\r