@deskeen/markdown
Advanced tools
Comparing version 5.1.2 to 5.1.3
# Changelog | ||
## 5.1.2 - 2021-05-04 | ||
## 5.1.3 - 2021-06-06 | ||
**🐛 Bugfix** | ||
- An empty text is added when a footnote is missing. | ||
## 5.1.2 - 2021-06-04 | ||
**🐛 Bugfix** | ||
- A paragraph can contain brackets before a link. | ||
@@ -7,0 +12,0 @@ |
{ | ||
"name": "@deskeen/markdown", | ||
"version": "5.1.2", | ||
"version": "5.1.3", | ||
"description": "Node.js Markdown to HTML Parser", | ||
@@ -5,0 +5,0 @@ "author": "Morgan Schmiedt", |
@@ -736,2 +736,5 @@ 'use strict' | ||
for (const ref of fnIdList.keys()) { | ||
const itemNode = document.createElement('li') | ||
itemNode.id = `reference${refNb}` | ||
const refValue = fnNote[ref] | ||
@@ -753,5 +756,2 @@ | ||
const itemNode = document.createElement('li') | ||
itemNode.id = `reference${refNb}` | ||
// childNodes is theoretically a live NodeList | ||
@@ -761,6 +761,6 @@ for (const node of Array.from(contentNode.childNodes)) { | ||
} | ||
} | ||
listNode.appendChild(itemNode) | ||
refNb += 1 | ||
} | ||
listNode.appendChild(itemNode) | ||
refNb += 1 | ||
} | ||
@@ -767,0 +767,0 @@ |
@@ -188,2 +188,3 @@ 'use strict' | ||
<li id="reference1">ref one</li> | ||
<li id="reference2"></li> | ||
</ol> | ||
@@ -190,0 +191,0 @@ </section>` |
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
165813
3222