Gildas 3 роки тому
батько
коміт
6813e5330d
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      src/single-file/single-file-core.js

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

@@ -2187,7 +2187,7 @@ function getCSSValue(value) {
 	return result;
 }
 
-function matchCharsetEquals(stylesheetContent, charset = "utf-8") {
+function matchCharsetEquals(stylesheetContent, charset = UTF8_CHARSET) {
 	const stylesheetCharset = getCharset(stylesheetContent);
 	if (stylesheetCharset) {
 		return stylesheetCharset == charset.toLowerCase();