diff --git sites/all/modules/contrib/wysiwyg_filter/wysiwyg_filter.inc sites/all/modules/contrib/wysiwyg_filter/wysiwyg_filter.inc
index 18f68c9..12a4cbd 100644
--- sites/all/modules/contrib/wysiwyg_filter/wysiwyg_filter.inc
+++ sites/all/modules/contrib/wysiwyg_filter/wysiwyg_filter.inc
@@ -461,7 +461,7 @@
     $groups['color']['properties']['background-repeat'] . '|' .
     $groups['color']['properties']['background-attachment'] . '|' .
     $groups['color']['properties']['background-position'] . ')';
-  $groups['color']['properties']['background'] = '(?:' . $regexp . ')(?:(?:\s+' . $regexp . ')+)';
+  $groups['color']['properties']['background'] = '(?:' . $regexp . ')(?:(?:\s*' . $regexp . ')+)';
 
   // 'font' property.
   $regexp = '(?:' .
@@ -470,7 +470,7 @@
     $groups['font']['properties']['font-weight'] . '|' .
     '(?:' . $groups['font']['properties']['font-size'] . ')(?:\s*/\s*' . $groups['dimension']['properties']['line-height'] . ')?|' .
     $groups['font']['properties']['font-family'] . ')';
-  $groups['font']['properties']['font'] = '(?:' . $regexp . ')(?:(?:\s+' . $regexp . ')+)';
+  $groups['font']['properties']['font'] = '(?:' . $regexp . ')(?:(?:\s*' . $regexp . ')+)';
 
   return $groups;
 }
