From 9e077c879561745d6828c8e253f1780ac0fd8fe0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gregor=20D=C3=BCster?= Date: Sun, 18 Feb 2024 12:08:19 +0100 Subject: [PATCH] fixup! Avoid HTML tags in plain text part of notification emails --- tools/semgrep.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/semgrep.yml b/tools/semgrep.yml index d878bc984..557f26c4b 100644 --- a/tools/semgrep.yml +++ b/tools/semgrep.yml @@ -220,9 +220,9 @@ rules: message: | Don't use `` tags in a mail template. Use the mode-aware `render_link` macro instead. - Please do not forget to add {{ link.render_link_list(mode) }} at end of the email. + Please do not forget to add {{ link.render_link_list() }} at end of the email. fix: > - {{ link.render_link("$TEXT", "$HREF", mode) }} + {{ link.render_link("$TEXT", "$HREF") }} severity: ERROR languages: [ html ] paths: