Comparing version 0.0.9 to 0.1.0
@@ -16,3 +16,3 @@ /** | ||
hr: /^( *[\-*_]){3,} *\n/, | ||
heading: /^ *(#{1,6}) *([^\n#]*) *#*/, | ||
heading: /^ *(#{1,6}) *([^\0]+?) *#* *\n+/, | ||
lheading: /^([^\n]+)\n *(=|-){3,}/, | ||
@@ -316,3 +316,5 @@ blockquote: /^ *>[^\n]*(?:\n *>[^\n]*)*/, | ||
if (cap[2] === '@') { | ||
text = mangle(cap[1]); | ||
text = cap[1][6] === ':' | ||
? mangle(cap[1].substring(7)) | ||
: mangle(cap[1]); | ||
href = mangle('mailto:') + text; | ||
@@ -319,0 +321,0 @@ } else { |
@@ -5,3 +5,3 @@ { | ||
"author": "Christopher Jeffrey", | ||
"version": "0.0.9", | ||
"version": "0.1.0", | ||
"main": "./lib/marked.js", | ||
@@ -8,0 +8,0 @@ "bin": { "marked": "./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
213328
816