1
0
Эх сурвалжийг харах

fixed issue #16 in SingleFileZ repository

Former-commit-id: b45a7c616c65181c10277dbe38c41c4748b8a68d
Gildas 6 жил өмнө
parent
commit
d4a3c2d808

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

@@ -575,7 +575,7 @@ this.singlefile.lib.core = this.singlefile.lib.core || (() => {
 			}
 
 			function removeNode(node) {
-				if (canHideNode(node)) {
+				if ((node.nodeType != 1 || !node.querySelector("svg,style,link")) && canHideNode(node)) {
 					node.remove();
 				}
 			}