From 83953bed3c8044ecdae64dea966b067900496fa2 Mon Sep 17 00:00:00 2001 From: Krzysztof Kotowicz Date: Tue, 5 Nov 2024 09:26:42 +0100 Subject: [PATCH] Sink group should be single-quoted only in CSP syntax. Fixes #542 --- spec/index.bs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/spec/index.bs b/spec/index.bs index 21a5485..de44c95 100644 --- a/spec/index.bs +++ b/spec/index.bs @@ -1293,8 +1293,9 @@ ABNF:
 directive-name = "require-trusted-types-for"
-directive-value = trusted-types-sink-group *( required-ascii-whitespace trusted-types-sink-group)
-trusted-types-sink-group = "'script'"
+directive-value = trusted-types-sink-group-keyword *( required-ascii-whitespace trusted-types-sink-group-keyword)
+trusted-types-sink-group-keyword = "'" trusted-types-sink-group "'"
+trusted-types-sink-group = "script"