stream-markdown-parser 0.0.50 → 0.0.51
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 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6752,7 +6752,7 @@ function applyContainers(md) {
|
|
|
6752
6752
|
const startPos = s.bMarks[startLine] + s.tShift[startLine];
|
|
6753
6753
|
const lineMax = s.eMarks[startLine];
|
|
6754
6754
|
const line = s.src.slice(startPos, lineMax);
|
|
6755
|
-
const nameMatch = line.match(/^:::\s*(
|
|
6755
|
+
const nameMatch = line.match(/^:::\s*([^\s{]+)/);
|
|
6756
6756
|
if (!nameMatch) return false;
|
|
6757
6757
|
const name = nameMatch[1];
|
|
6758
6758
|
if (!name.trim()) return false;
|