Skip to content

Commit

Permalink
really do the raw liquid tag
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed Aug 19, 2013
1 parent fadf016 commit f95ab89
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
});
};
6 changes: 2 additions & 4 deletions customize.html

Large diffs are not rendered by default.

0 comments on commit f95ab89

Please sign in to comment.