diff --git a/src/lib/style-util.html b/src/lib/style-util.html index 82c6eeec41..86ce6a12dd 100644 --- a/src/lib/style-util.html +++ b/src/lib/style-util.html @@ -165,7 +165,7 @@ }, cssFromModules: function(moduleIds, warnIfNotFound) { - var modules = moduleIds.trim().split(' '); + var modules = moduleIds.trim().split(/\s+/); var cssText = ''; for (var i=0; i < modules.length; i++) { cssText += this.cssFromModule(modules[i], warnIfNotFound); diff --git a/test/unit/custom-style-import.html b/test/unit/custom-style-import.html index b5e4828960..3771b61212 100644 --- a/test/unit/custom-style-import.html +++ b/test/unit/custom-style-import.html @@ -20,7 +20,8 @@ - - \ No newline at end of file + + + + +