maizzle / framework

Quickly build HTML emails with Tailwind CSS.
https://maizzle.com
MIT License
1.21k stars 48 forks source link

Any way to use special characters inside components? #1179

Closed didiraja closed 7 months ago

didiraja commented 7 months ago

Components docs, says props objects should be encoded.

I have a dynamic object that could have special characters in some keys. How is the best way to send this values as props on a component, without needing to remove the characters?

Example:

{{data.product}}



Airfryer renders normally, but TV don't, it breaks after apostrophe. Tried using html entities but it just don't render and unicode `\u0027` also breaks on render, although other unicodes works as `\u00a0` and `\u00e2`.