This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/core/lib/Drupal/Core/Asset/CssOptimizer.php b/core/lib/Drupal/Core/Asset/CssOptimizer.php | |
index 775603b633..93f2220c42 100644 | |
--- a/core/lib/Drupal/Core/Asset/CssOptimizer.php | |
+++ b/core/lib/Drupal/Core/Asset/CssOptimizer.php | |
@@ -189,8 +189,8 @@ protected function processCss($contents, $optimize = FALSE) { | |
if ($optimize) { | |
// Perform some safe CSS optimizations. | |
- // Regexp to match comment blocks. | |
- $comment = '/\*[^*]*\*+(?:[^/*][^*]*\*+)*/'; |