2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-15 11:59:39 +03:00

really do the raw liquid tag

This commit is contained in:
Mark Otto
2013-08-19 13:58:29 -07:00
parent fadf016043
commit f95ab89fb1
2 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -211,7 +211,7 @@ module.exports = function(grunt) {
}
var customize = fs.readFileSync('customize.html', 'utf-8')
var files = '<!-- generated -->\n<script id="files">\n' + getFiles('js') + getFiles('less') + getFiles('fonts') + '<\/script>\n<!-- /generated -->'
var files = '{% raw %}<!-- generated -->\n<script id="files">\n' + getFiles('js') + getFiles('less') + getFiles('fonts') + '<\/script>\n<!-- /generated -->{% endraw %}'
fs.writeFileSync('customize.html', customize.replace(/<!-- generated -->(.|[\n\r])*<!-- \/generated -->/, '') + files)
});
};
+2 -4
View File
File diff suppressed because one or more lines are too long