how to send html content as value of email editor variable
Use case:- One user has system that generates html content. That user wants to send that generated html using Novu
11 Replies
@Engineering
That user used variable but in email it is not rendering html rather it is showing html with tags
yeah because we only compile the variables on one level
Is there anything we can do to support this?
without even leaving discord I would say that we need to re compile the output of the first compile one more time, not sure how and if it is possible...
Ohh got it. I will add this to backlog
We can revisit this.
it becomes a problem if the user have a variable he send that needs to be put inside of another variable then it becomes an N + 1 problem
@Pawan Jain I had Dima close to me and he said it would be great if we could investigate the usecase a bit more
Tagging Dima
I think we did something similar for the layouts feature. First, to inject html into a variable, the c=var should have triple brackets {{{htmlVar}}}. I will make sure again about this double compile, but I did that for the layouts with {{{body}}} in a layout containing html (from the email editor) that has its own variables
@Pawan Jain let's create an issue for this on the backlog
NV-1648 - feature request: support of sending html content as value of variable
Status
Triage
Engineering
Is this feature available now? How to use the same if it's available or what's current timeline for this feature to be available?