@bonniernews/md2html
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -48,2 +48,11 @@ "use strict"; | ||
if (nstate === LIST && lookahead !== 45) { | ||
while (state.length) { | ||
markup += "</" + state.pop() + ">"; | ||
} | ||
nstate = undefined; | ||
continue; | ||
} | ||
if (!nstate || (nstate & FLOWCONTENT) === FLOWCONTENT) continue; | ||
@@ -50,0 +59,0 @@ markup += "</" + state.pop() + ">" + String.fromCharCode(charcode); |
@@ -34,2 +34,10 @@ export function render(markdown) { | ||
if (nstate === LIST && lookahead !== 45) { | ||
while (state.length) { | ||
markup += "</" + state.pop() + ">"; | ||
} | ||
nstate = undefined; | ||
continue; | ||
} | ||
if (!nstate || (nstate & FLOWCONTENT) === FLOWCONTENT) continue; | ||
@@ -144,2 +152,3 @@ | ||
} else { | ||
if (!nstate) { | ||
@@ -146,0 +155,0 @@ nstate = PHRASINGCONTENT; |
{ | ||
"name": "@bonniernews/md2html", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Zero dependency markdown to html converter", | ||
@@ -5,0 +5,0 @@ "module": "index.js", |
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
11101
293