Strip all <a /> tags, fuck SpamAssassin.

This commit is contained in:
Paul
2021-07-27 16:32:55 +01:00
parent dd65b9f358
commit d4743b1453
5 changed files with 8 additions and 8 deletions

View File

@@ -35,7 +35,7 @@
You requested a password reset, if you did not request this then you can safely ignore it.
</p>
<p style="margin: 0;">
Reset your password by navigating to <a href="{{url}}">{{url}}</a>.
Reset your password by navigating to {{url}}.
</p>
</td>
</tr>
@@ -47,7 +47,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%" style="border-collapse: collapse;">
<tr>
<td style="color: #ffffff; font-family: Arial, sans-serif; font-size: 14px;">
<p style="margin: 0;">Sent by Revolt. &middot; Website: <a style="color: white;" href="https://revolt.chat">https://revolt.chat</a></p>
<p style="margin: 0;">Sent by Revolt.</p>
<p>Revolt is a user-first chat platform built with modern web technologies.</p>
</td>
</tr>

View File

@@ -35,7 +35,7 @@
You're almost there! Verify your account to be able to log into the platform.
</p>
<p style="margin: 0;">
Please verify your account by navigating to <a href="{{url}}">{{url}}</a>.
Please verify your account by navigating to {{url}}.
</p>
</td>
</tr>
@@ -47,7 +47,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%" style="border-collapse: collapse;">
<tr>
<td style="color: #ffffff; font-family: Arial, sans-serif; font-size: 14px;">
<p style="margin: 0;">Sent by Revolt. &middot; Website: <a style="color: white;" href="https://revolt.chat">https://revolt.chat</a></p>
<p style="margin: 0;">Sent by Revolt.</p>
<p>Revolt is a user-first chat platform built with modern web technologies.</p>
</td>
</tr>

View File

@@ -1,3 +1,3 @@
#!/bin/bash
export version=0.5.1-alpha.13
export version=0.5.1-alpha.14
echo "pub const VERSION: &str = \"${version}\";" > src/version.rs

View File

@@ -87,12 +87,12 @@ async fn launch_web() {
templates: Templates {
verify_email: Template {
title: "Verify your Revolt account.",
text: "You're almost there! Verify your account to be able to log into the platform.\nPlease verify your account here: {{url}}\n\nSent by Revolt. · Website: https://revolt.chat\nRevolt is a user-first chat platform built with modern web technologies.",
text: "You're almost there! Verify your account to be able to log into the platform.\nPlease verify your account here: {{url}}\n\nSent by Revolt.\nRevolt is a user-first chat platform built with modern web technologies.",
html: include_str!("../assets/templates/verify.html"),
},
reset_password: Template {
title: "Reset your Revolt password.",
text: "You requested a password reset, if you did not request this then you can safely ignore it.\nReset your password here: {{url}}\n\nSent by Revolt. · Website: https://revolt.chat\nRevolt is a user-first chat platform built with modern web technologies.",
text: "You requested a password reset, if you did not request this then you can safely ignore it.\nReset your password here: {{url}}\n\nSent by Revolt.\nRevolt is a user-first chat platform built with modern web technologies.",
html: include_str!("../assets/templates/reset.html"),
},
welcome: None,

View File

@@ -1 +1 @@
pub const VERSION: &str = "0.5.1-alpha.13";
pub const VERSION: &str = "0.5.1-alpha.14";