inky icon indicating copy to clipboard operation
inky copied to clipboard

Conditional rendering comments

Open rafaelramalho19 opened this issue 7 years ago • 1 comments

Hi guys, first of all thank you for making HTML templating so much easier. Here's a problem I encountered in my development tho.

When I write conditional tags for mso, Inky is not rendering the elements inside the tags. Is there any way to counter this?

Here's a code example: <!--[if mso]> <center> <button href="http://pixelmatters.com" target="_blank">\{{ button.verify }}</button> </center> <![endif]-->

Here's a screenshot of the result: https://cl.ly/243O2q1M3u0w

Thanks in advance.

rafaelramalho19 avatar Mar 21 '17 14:03 rafaelramalho19

To anyone lookin at a temp solution, I've rendered the Inky element individually and then pasted the code inside the if tag. But I'm still waiting on a permanent on since this is needed 😢

rafaelramalho19 avatar Mar 29 '17 15:03 rafaelramalho19