Skip to content

Commit be2c734

Browse files
author
gauthier witkowski
committed
Remove double encoding
1 parent 4b1ba98 commit be2c734

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

email_template.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
<tr>
6060
<td align="left" style="background:#2563eb; padding:24px; font-size:20px; line-height:24px; font-weight:700; color:#ffffff; font-family:Arial,Helvetica,sans-serif;" class="h1">
6161
<span class="badge" style="display:inline-block; background:#1d4ed8; color:#fff; padding:4px 10px; font-size:11px; line-height:1; letter-spacing:.5px; border-radius:3px; text-transform:uppercase;">Message</span><br style="line-height:20px;" />
62-
<?= htmlspecialchars($subject, ENT_QUOTES | ENT_SUBSTITUTE, 'UTF-8'); ?>
62+
<?= $subject; ?>
6363
</td>
6464
</tr>
6565
<tr>
@@ -98,7 +98,7 @@
9898
<?php $replySubject = rawurlencode('Re: ' . $subject); ?>
9999
<a href="mailto:<?= $email; ?>?subject=<?= $replySubject; ?>"
100100
style="display:inline-block; background:#2563eb; color:#ffffff; text-decoration:none; font-size:14px; line-height:18px; padding:12px 20px; border-radius:4px; font-weight:600; font-family:Arial,Helvetica,sans-serif;">
101-
Reply to <?= htmlspecialchars($name, ENT_QUOTES | ENT_SUBSTITUTE, 'UTF-8'); ?>
101+
Reply to <?= $name; ?>
102102
</a>
103103
</td>
104104
</tr>

0 commit comments

Comments
 (0)