HTML codes appear in the PDF output