diff --git a/includes/less.wysiwyg.inc b/includes/less.wysiwyg.inc
index 14ac494..bfdd2cf 100644
--- a/includes/less.wysiwyg.inc
+++ b/includes/less.wysiwyg.inc
@@ -31,6 +31,9 @@ function less_wysiwyg_editor_settings_alter(&$settings, $context) {
 
     // $stylesheets is an array or comma separated list of file paths.
     $stylesheets = $is_array ? $stylesheets : explode(',', $stylesheets);
+    array_walk($stylesheets, function (&$value, &$key) {
+        $value = preg_replace('/\?.*/', '', $value);
+    });
 
     // Create a 'value => value' array to preserve original stylesheet order.
     $stylesheets = drupal_map_assoc($stylesheets);
