stream-markdown-parser 0.0.54 → 0.0.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11462,6 +11462,7 @@ function getMarkdown(msgId = `editor-${Date.now()}`, options = {}) {
|
|
|
11462
11462
|
if (s.src[s.pos] !== "[") return false;
|
|
11463
11463
|
const match = RE_REFERENCE.exec(s.src.slice(s.pos));
|
|
11464
11464
|
if (!match) return false;
|
|
11465
|
+
if (s.src.slice(s.pos + match[0].length).startsWith("](")) return false;
|
|
11465
11466
|
if (!silent) {
|
|
11466
11467
|
const id = match[1];
|
|
11467
11468
|
const token = s.push("reference", "span", 0);
|