Skip to content

Commit

Permalink
test(mrml-core): add failing test
Browse files Browse the repository at this point in the history
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
  • Loading branch information
jdrouet committed Oct 20, 2024
1 parent 7fc9c5b commit ffa9531
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions packages/mrml-core/tests/issue-470.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#![cfg(feature = "parse")]

#[test]
fn should_allow_sendgrid_unsubscribe_tag() {
let template = r#"<mjml>
<mj-body>
<mj-section>
<mj-column>
<mj-text>
<a href="<%asm_group_unsubscribe_raw_url%>">unsubscribe</a>
</mj-text>
</mj-column>
</mj-section>
</mj-body>
</mjml>"#;

let _root = mrml::parse(template).unwrap();
}

0 comments on commit ffa9531

Please sign in to comment.