Convert to HTML in PDF