mirror of
https://github.com/svemagie/blog-eleventy-indiekit.git
synced 2026-04-02 16:44:56 +02:00
fix: add safe filter to prevent entity escaping
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
{% if site.author.email %}
|
||||
{# Display text obfuscated to deter spam harvesters; href kept plain for browser compatibility #}
|
||||
<a href="mailto:{{ site.author.email }}" class="u-email text-primary-600 dark:text-primary-400 hover:underline" itemprop="email">
|
||||
✉️ {{ site.author.email | obfuscateEmail }}
|
||||
✉️ {{ site.author.email | obfuscateEmail | safe }}
|
||||
</a>
|
||||
{% endif %}
|
||||
{% if site.author.keyUrl %}
|
||||
|
||||
Reference in New Issue
Block a user