Skip to content

Commit

Permalink
fix(theme): ignore footnote-ref for outline
Browse files Browse the repository at this point in the history
closes #4402
  • Loading branch information
brc-dd authored Dec 4, 2024
1 parent 452d6c7 commit 1832617
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/client/theme-default/composables/outline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ function serializeHeader(h: Element): string {
if (
(node as Element).classList.contains('VPBadge') ||
(node as Element).classList.contains('header-anchor') ||
(node as Element).classList.contains('footnote-ref') ||
(node as Element).classList.contains('ignore-header')
) {
continue
Expand Down

0 comments on commit 1832617

Please sign in to comment.