Remove dum

This commit is contained in:
Nassim Jahnke 2024-12-07 20:37:32 +01:00
parent 3d0bd8d1a6
commit 46d409cde0
No known key found for this signature in database
GPG Key ID: EF6771C01F6EF02F

View File

@ -30,7 +30,7 @@ const renderer = {
.trim()
.replaceAll(/<[!/a-z].*?>/gi, "");
const id = `${slugger.slug(raw)}`;
const text = this.parser?.parseInline(tokens) + "DUM";
const text = this.parser?.parseInline(tokens);
const heading = { level: depth, text, id };
headings.push(heading);
const level = depth + 1;