Parcourir la source

disable more options when processing html inports

Gildas il y a 6 ans
Parent
commit
50288a1af9
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      lib/single-file/single-file-core.js

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

@@ -951,6 +951,9 @@ this.singlefile.lib.core = this.singlefile.lib.core || (() => {
 				options.insertSingleFileComment = false;
 				options.insertSingleFileComment = false;
 				options.insertFaviconLink = false;
 				options.insertFaviconLink = false;
 				options.removeUnusedStyles = false;
 				options.removeUnusedStyles = false;
+				options.removeAlternativeMedias = false;
+				options.removeUnusedFonts = false;
+				options.removeHiddenElements = false;
 				options.doc = null;
 				options.doc = null;
 				options.win = null;
 				options.win = null;
 				options.url = resourceURL;
 				options.url = resourceURL;