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']
+1 -1
View File
@@ -26,7 +26,7 @@
<link rel="preconnect" href="https://api.github.com">
<link rel="dns-prefetch" href="https://api.github.com">
<head>
</head>
<body ng-app="YellowLabTools">
<div id="header"><h1>Yellow Lab <span class="icon-lab"></span> Tools</h1></div>