One table in PDF contains HTML and needs processed
This post was updated on .
I need help figuring out how to parse one PdfPTable that contains a Paragraph with one Phrase in it that may contain html. I have tried using the XMLHelper.parseXHmtl but it isn't working as I expect. It leaves the html tags as is and then puts the processed html at the end of the document.
My code is as follows:
// generateEventDescriptionPdfTable returns a PdfPTable object
// call this right before the .close()
PdfWriter.getInstance(document, response.getOutputStream()), document, new ByteArrayInputStream( manager.getSourcingEvent().getDescription().getBytes("UTF-8")));