diff --git a/docs/.vitepress/vitepress/components/doc-content/vp-table-of-content.vue b/docs/.vitepress/vitepress/components/doc-content/vp-table-of-content.vue index 83275bf2f4..08a6f1970a 100644 --- a/docs/.vitepress/vitepress/components/doc-content/vp-table-of-content.vue +++ b/docs/.vitepress/vitepress/components/doc-content/vp-table-of-content.vue @@ -13,6 +13,7 @@ import SponsorRightLogoSmallList from '../sponsors/right-logo-small-list.vue' const headers = useToc() const lang = useLang() const sponsor = computed(() => sponsorLocale[lang.value]) +const removeTag = (str: string) => str.replace(//g, '')