From b8a90778235fbb8d865f9e1c0dfbc82565e5fd64 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Thu, 25 Jul 2019 13:07:38 -0700 Subject: [PATCH] Make HTML templates output Javascript, part 2. #829 --- tools/template.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/template.js b/tools/template.js index 2e361ea939..bdc74278db 100644 --- a/tools/template.js +++ b/tools/template.js @@ -168,7 +168,7 @@ tools.html = function(template) { if (stream.text) { throw new Error(`Unexpected characters in template (${stream.text}): ${template}`); } - return `(innerHTML: \`${output}\`)`; + return `\`{innerHTML: ${output}}\``; }; tools.assert = function(statement) {