Преглед изворни кода

remove empty comments

Former-commit-id: f60c18f4dc69b725eec687099683e8b5e673b36d
Gildas пре 5 година
родитељ
комит
2bcbf2de04
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      lib/single-file/single-file-core.js

+ 1 - 1
lib/single-file/single-file-core.js

@@ -2031,7 +2031,7 @@ this.singlefile.lib.core = this.singlefile.lib.core || (() => {
 		}
 
 		static removeCssComments(stylesheetContent) {
-			return stylesheetContent.replace(/\/\*(.|\s)+?\*\//g, "");
+			return stylesheetContent.replace(/\/\*(.|\s)*?\*\//g, "");
 		}
 
 		static wrapMediaQuery(stylesheetContent, mediaQuery) {