Permalink
Browse files

weird character in source

  • Loading branch information...
1 parent 8c4c6d5 commit 51d68bb234d1e4450daa54e82fc670f130e052fa @eoftedal committed Nov 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/helmet.js
View
@@ -39,7 +39,7 @@ var helmet = {
if (node.nodeValue.indexOf(tag.key) > -1) {
if (helmet.isScriptTag(node.nodeName) || helmet.isScriptTag(node.parentNode.nodeName)) {
tag.func = helmet.checkJS(node.nodeValue, tag);
- } else if (helmet.isStyle(node.nodeName) || helmet.isStyle(node.parentNode.nodeName)) {
+ } else if (helmet.isStyle(node.nodeName) || helmet.isStyle(node.parentNode.nodeName)) {
tag.func = null; //unsafe
} else {
tag.func = "escapeHtml";

0 comments on commit 51d68bb

Please sign in to comment.