Closed singhgulshan closed 9 months ago
A small question, @singhgulshan did you try using triple curly braces here? {{{message}}}
this should also render HTML internally. a double curly brace will escape the HTML content.
Closing now due to inactivity, as a general solution of using with triple curly braces for rendering HTML content.
📜 Description
Send notification with html tags
👟 Reproduction steps
👍 Expected behavior
It should not parse Html tags or there should be an option to disable parse for certain notification content.
👎 Actual Behavior with Screenshots
Parsing Html tage to Hex code.
💻 Operating system
MacOS
🤖 Node Version
18.6.0
📃 Provide any additional context for the Bug.
On trigger with payload
{ message:"<b>Novu</b> says hello!!" }
and using notification content as{{message}}
Output:
<b>Novu</b> says hello!!!
👀 Have you spent some time to check if this bug has been raised before?
🏢 Have you read the Contributing Guidelines?
Are you willing to submit PR?
No response