Explorar o código

don't append ";" to stylesheets...

Gildas %!s(int64=7) %!d(string=hai) anos
pai
achega
552fd1f492
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  1. 0 3
      lib/single-file/single-file-core.js

+ 0 - 3
lib/single-file/single-file-core.js

@@ -905,9 +905,6 @@ this.SingleFileCore = this.SingleFileCore || (() => {
 						importedStylesheetContent = DomUtil.wrapMediaQuery(importedStylesheetContent, match.media);
 						if (stylesheetContent.includes(cssImport)) {
 							importedStylesheetContent = await DomProcessorHelper.resolveImportURLs(importedStylesheetContent, styleSheetUrl, options);
-							if (cssImport.endsWith(";") && !stylesheetContent.endsWith(";")) {
-								stylesheetContent += ";";
-							}
 							stylesheetContent = stylesheetContent.replace(DomUtil.getRegExp(cssImport), importedStylesheetContent);
 						}
 					}