Remove <iframe> in pdf functionality