Skip to content

Commit

Permalink
Compilation needs to escape HTML by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric D. Fields committed Jan 26, 2015
1 parent 7654166 commit abc7fcf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module.exports = function(source) {
//
// Compilation
//
template = hamlc.template(source, null, null, {placement: 'standalone'});
template = hamlc.template(source, null, null, {placement: 'standalone', escapeHtml: false});
result = "module.exports =" + template.toString();
return result;
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hamlc-loader",
"version": "0.0.10",
"version": "0.0.11",
"description": "hamlc loader module for webpack",
"main": "index.js",
"repository": {
Expand Down

0 comments on commit abc7fcf

Please sign in to comment.