1👍
printf.document.body.innerHTML = element
should be printf.document.body.innerHTML = element.innerHTML
I think. But you may actually want to use .outerHTML
Source:stackexchange.com
1👍
printf.document.body.innerHTML = element
should be printf.document.body.innerHTML = element.innerHTML
I think. But you may actually want to use .outerHTML