Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

weird character in source

  • Loading branch information...
commit 51d68bb234d1e4450daa54e82fc670f130e052fa 1 parent 8c4c6d5
@eoftedal authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/helmet.js
View
2  lib/helmet.js
@@ -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";
Please sign in to comment.
Something went wrong with that request. Please try again.