I converted “Description” field in Opportunities module to have TinyMCE editor.
Also implemented a “Generate Letter” option with the associated PDF Template.
However, when using this field through the proper template, HTML tags are printed and not decoded:
I see the crux of your problem, the html is stored as text in database field. You will probably have to alter the generate letter pdf code to check for this field and specifically decode it somehow.
Thank you for your reply.
I manage to solve this issue by changing “templateParser.php”, “parse_template_bean” function, right before the return statement.
Probably it’s not the most elegant way and for sure not an upgrade safe one, but here it is how I made it, based in formLetter.php code: