CFdocument Coldfusion 8.01 update HTML to PDF bug
The new ColdFusion 8.01 update has some very nice fixes and additions, such being able to send a document from a variable instead of saving and then attaching it. Alas, nothing is perfect. In one of our projects, we turn HTML into PDF's using the cfdocument tag set. Before the update to 8.01 the HTML being sent to the PDF formatter worked perfectly. The string of HTML that cfdocument was choking on looked like this: <table border="0" cellpadding="0" cellspacing="0" width="700"> <tbody> <tr> <td>test <br /><br /> </td> </tr> </tbody> </table> Specifically, the issue is with the double br's. With just one br it worked, but with both it would throw the following error. "java.io.IOException: Parsing problem occurred during the rendering process of this document." This is the simplest example, there may be other quirks rendering HTML to PDF. I highly recommend reading thro...