From b433736241a482fb82d1d9741bafd902c565ff2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20M=C3=A9tais?= Date: Mon, 12 Sep 2016 16:17:01 +0800 Subject: [PATCH] Fix bug with EJS on grunt-built instances (#192) Fix EJS syntax being incorrectly escaped by the build step. --- Gruntfile.js | 6 +++++- front/src/main.html | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 3ccabe9..6a7d42b 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -243,7 +243,11 @@ module.exports = function(grunt) { build: { options: { base: '.tmp', - method: 'append' + method: 'append', + unescape: { + '<': '<', + '>': '>' + } }, files: { './front/build/main.html': ['.tmp/views/*.html'] diff --git a/front/src/main.html b/front/src/main.html index 6329e68..f155eb1 100644 --- a/front/src/main.html +++ b/front/src/main.html @@ -26,7 +26,7 @@ - +