Skip to content

Commit 1832617

Browse files
authored
fix(theme): ignore footnote-ref for outline
closes #4402
1 parent 452d6c7 commit 1832617

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/client/theme-default/composables/outline.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ function serializeHeader(h: Element): string {
4848
if (
4949
(node as Element).classList.contains('VPBadge') ||
5050
(node as Element).classList.contains('header-anchor') ||
51+
(node as Element).classList.contains('footnote-ref') ||
5152
(node as Element).classList.contains('ignore-header')
5253
) {
5354
continue

0 commit comments

Comments
 (0)