From cfe647b1f261539f56dbfe17c5dbc27420e8db85 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sat, 28 Mar 2015 04:36:21 -0700 Subject: [PATCH] Allow HTML templates in the HTML files again. --- Gruntfile.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gruntfile.coffee b/Gruntfile.coffee index 14785cbb9..4eebfb55d 100755 --- a/Gruntfile.coffee +++ b/Gruntfile.coffee @@ -5,7 +5,7 @@ module.exports = (grunt) -> "`#{JSON.stringify(data).replace(/`/g, '\\`')}`" importHTML = (filename) -> - "(innerHTML: #{json grunt.file.read("src/General/html/#{filename}.html").replace(/^ +/gm, '').replace(/\r?\n/g, '')})" + html grunt.template.process(grunt.file.read("src/General/html/#{filename}.html").replace(/^ +/gm, '').replace(/\r?\n/g, ''), data: grunt.config('pkg')) checkHTML = (text, context) -> while text