Remove script tags when printing an article as PDF (see #5626)