From 66af7f943cb09f5c64f52f0518a5508b2d14f2da Mon Sep 17 00:00:00 2001 From: Ben Morss Date: Mon, 30 Mar 2020 18:02:53 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20:=20Clearer=20Error?= =?UTF-8?q?=20for=20Form=20Element=20Mutations=20(#27490)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update amp-script.js * Removed extra tag --- extensions/amp-script/0.1/amp-script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/amp-script/0.1/amp-script.js b/extensions/amp-script/0.1/amp-script.js index bd2436ccf68c..ba22fd4f2f64 100644 --- a/extensions/amp-script/0.1/amp-script.js +++ b/extensions/amp-script/0.1/amp-script.js @@ -669,7 +669,7 @@ export class SanitizerImpl { if (!this.allowForms_ && FORM_ELEMENTS.includes(tag)) { user().warn( TAG, - 'Form elements (%s) are not allowed without sandbox="allow-forms".', + 'Form elements (%s) cannot be mutated unless your includes the attribute sandbox="allow-forms".', tag ); return true;