Gildas 3 лет назад
Родитель
Сommit
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();