Gildas 5 лет назад
Родитель
Сommit
a22fa89127
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      lib/single-file/single-file-core.js

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

@@ -448,7 +448,7 @@ class Processor {
 					charset = charsetDeclaration.split("=")[1].trim().toLowerCase();
 				}
 			});
-			if (charset && charset != content.charset) {
+			if (charset && charset.toLowerCase() != content.charset.toLowerCase()) {
 				return this.loadPage(pageContent, charset);
 			}
 		}