Fix bug with EJS on grunt-built instances (#192)

Fix EJS syntax being incorrectly escaped by the build step.
This commit is contained in:
Gaël Métais
2016-09-12 16:17:01 +08:00
committed by GitHub
parent cee48c1f45
commit b433736241
2 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -243,7 +243,11 @@ module.exports = function(grunt) {
build: {
options: {
base: '.tmp',
method: 'append'
method: 'append',
unescape: {
'&lt;': '<',
'&gt;': '>'
}
},
files: {
'./front/build/main.html': ['.tmp/views/*.html']