mnelson4 / printmyblog

WordPress Plugin that simplifies printing your entire blog
GNU General Public License v3.0
16 stars 6 forks source link

noscript elements appearing in printouts #151

Closed mnelson4 closed 3 years ago

mnelson4 commented 3 years ago

Daniel found that on goodnessparty.org he was seeing some extra HTML on the first page, specifically some CSS code about woocommerce. I found it's the contents of a <noscript> tag in the header, which I suppose princeXML doesn't know how to handle and so just displays it. 😩 I think the fix will be to just remove all noscript tags.

mnelson4 commented 3 years ago

I just use some JS to remove all noscript tags. I asked Daniel to try it out and let me know

mnelson4 commented 3 years ago

Daniel confirmed its fixed.

mnelson4 commented 3 years ago

I could try hiding with CSS in the future