How to pass HTML in tokens?

Created on 13 March 2022, over 2 years ago
Updated 29 January 2024, 5 months ago

Problem/Motivation

I have a tpl with a field added which is a formatted text field using full html. In my code i want to create some html (or alternatively pass a render array). But of course the token has html which then gets shown in the email as html text - i.e. i see the HTML tags in the output of the email.

Is there some way to make this work? Not that it matters; but i am trying to embed the output of a view into the email.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ’¬ Support request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada liquidcms

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024