Skip to content

Commit

Permalink
Make HTML templates output Javascript, part 2. #829
Browse files Browse the repository at this point in the history
  • Loading branch information
ccd0 committed Jul 25, 2019
1 parent c64acea commit b8a9077
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/template.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit b8a9077

Please sign in to comment.