use innerHTML in config.js

This commit is contained in:
James Feng Cao 2023-04-12 10:55:29 +08:00
parent 1239ef166c
commit 032723db19

View file

@ -38,7 +38,7 @@ function gen(text) {
}
if(d.body){
gen(d.documentElement.outerHTML);
gen(d.body.innerHTML);
}else {
let text = "\n".repeat(labels.length-1);
gen(text);