We've created a new Quote that contains the following HTML code in a custom field "individualConditions":
We've also created a Quote template that references the above field as follows:
However, the generated PDF is all messed up - see screenshot attached.
NB: When including the fields's code in the template directly, it works a treat.
Any ideas?
HTML Code:
<table> <tbody> <tr> <td>A</td> <td>B</td> <td>C</td> <td>D</td> </tr> <tr> <td>A</td> <td>B</td> <td>10</td> <td>99</td> </tr> </tbody> </table>
HTML Code:
<table> <tbody> <!-- {{#if individualConditions}} --> <tr><td>{{{individualConditions}}}</td></tr> <!-- {{/if}} --> </tbody> </table>
NB: When including the fields's code in the template directly, it works a treat.
Any ideas?
Comment