RE: Advanced PDF Type Conversion

I have a custom field, formatted as rich text, where I store HTML code. When attempting to use this code in an advanced PDF template, it renders as a string instead of HTML. How can I modify the field type in advanced pdf template to ensure that it is rendered as HTML?

majakwani Rookie Asked on January 9, 2024 in How To's.
Add Comment
1 Answers

try using the ?interpret built-in
like:

<#assign myhtml = record.customfield_html?interpret>
<@myhtml>
Beginner Answered on January 11, 2024.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.