Comparing version 0.3.5 to 0.3.6
@@ -1097,3 +1097,4 @@ /** | ||
function unescape(html) { | ||
return html.replace(/&([#\w]+);/g, function(_, n) { | ||
// explicitly match decimal, hex, and named HTML entities | ||
return html.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/g, function(_, n) { | ||
n = n.toLowerCase(); | ||
@@ -1100,0 +1101,0 @@ if (n === 'colon') return ':'; |
@@ -5,3 +5,3 @@ { | ||
"author": "Christopher Jeffrey", | ||
"version": "0.3.5", | ||
"version": "0.3.6", | ||
"main": "./lib/marked.js", | ||
@@ -8,0 +8,0 @@ "bin": "./bin/marked", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
71864
1137