mrml icon indicating copy to clipboard operation
mrml copied to clipboard

Allow Sendgrid unsubscribe tags

Open simoheinonen opened this issue 1 year ago • 1 comments

<mjml>
    <mj-body>
        <a href="<%asm_group_unsubscribe_raw_url%>">unsubscribe</a>
    </mj-body>
</mjml>

couldn't parse document: something went wront while parsing invalid attribute at 3:11 cause expected '"' not '<' at 3:18

https://www.twilio.com/docs/sendgrid/ui/sending-email/group-unsubscribes

simoheinonen avatar Sep 17 '24 13:09 simoheinonen

So this issue comes from xmlparser which we use under the hood to parse the template. That being said, this is a real problem and what you ask should be possible. I'm on it.

In the meantime, you can probably replace it with a placeholder and replace it after rendering it.

jdrouet avatar Oct 20 '24 10:10 jdrouet