Hello people!! I have a PDF generator to print a document template to PDF, it works properly but if the dynamic variables contains ‘&’ an error is triggered and the PDF generator fails, anyone knows why? or how to solve it? Thanks for your time!!
Adolfo César Velázquez Pérez
it probably has something to do with the generator searching for the & tag to perform a specific action.
Might be the best to perform a replaceAll($string, ‘&’, ‘and’) on the label before performing the pdf generation.