We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d16db1e commit 188f05dCopy full SHA for 188f05d
src/components/AnchorHeading.astro
@@ -22,7 +22,7 @@ const tag = `h${depth}` as "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
22
23
const file = await rehype()
24
.use(rehypeAutoLinkHeadings)
25
- .process(`<${tag} id=${slugified}>${marked.parseInline(title)}</${tag}`);
+ .process(`<${tag} id=${slugified}>${marked.parseInline(title)}</${tag}>`);
26
27
const html = file.toString();
28
---
0 commit comments