Forum Bugs

junk between noscript tags getting put into html

pcamen
I am using Prince to automate a print-to-pdf function for personal article retention. On a page I am testing, it is showing html that appears between <noscript></noscript> visibly in the document.

http://www.economist.com/node/21594328/print

Is there any reason it should be doing this? Is there a way to get it to stop?

See attached for output PDF file.
  1. The_Economist_The_more_the_merrier.pdf164.3 kB
mikeday
Technically it would be ideal if Prince toggled the visibility of noscript elements depending on whether JavaScript was enabled or disabled, but luckily it's easy enough to work around by adding this to your CSS:
noscript { display: none }