From d1b356d6ae79c51dfc09cb441673f4647aa4d7ab Mon Sep 17 00:00:00 2001 From: Phil Turnbull Date: Tue, 7 Nov 2023 12:43:54 -0500 Subject: [PATCH] Ignore attributes in named arguments --- .../security/unquoted-attribute-var.html | 67 ++++++++++++++++++- .../security/unquoted-attribute-var.yaml | 2 + 2 files changed, 68 insertions(+), 1 deletion(-) diff --git a/generic/html-templates/security/unquoted-attribute-var.html b/generic/html-templates/security/unquoted-attribute-var.html index 8214ecc40f..af6f1ab618 100644 --- a/generic/html-templates/security/unquoted-attribute-var.html +++ b/generic/html-templates/security/unquoted-attribute-var.html @@ -11,7 +11,7 @@ - + @@ -83,3 +83,68 @@

rule: {{check_id}}
{% endfor %} + + + + + + + + + + + + +

{{@title}}

+ + +

{{this.title}}

+ + +

{{or @title "Untitled"}}

+ + +
+ + + {{yield}} +
+ + +