diff --git a/components/TOC.js b/components/TOC.js index 1593c7f8d080..27fd09fd1061 100644 --- a/components/TOC.js +++ b/components/TOC.js @@ -47,7 +47,7 @@ export default function TOC({ href={`#${item.slug}`} key={index} > - {item.content} + {item.content.replaceAll('`', '')} )) }