Commit b896d53f6a

b896d53f6acd82e59d7daef4e9bef406a7d59013

parent: 6f13e0f9d6

Unsigned

Duck <57977673+woducku@users.noreply.github.com> · 2026-07-18 10:04 UTC

highlight exception

Layout: unified · split

docs/.vitepress/theme/Layout.vue +1 −1
@@ -864,7 +864,7 @@ function applyFavicons(root: ParentNode) {
864 .forEach((link) => { 864 .forEach((link) => {
865 const href = link.getAttribute('href') ?? '' 865 const href = link.getAttribute('href') ?? ''
866 if (!/^https?:\/\//i.test(href) || href.startsWith(origin)) return 866 if (!/^https?:\/\//i.test(href) || href.startsWith(origin)) return
867 if (link.querySelector('hl, .icon-tip, img, svg')) return 867 if (link.querySelector('.highlight-pill, .icon-tip, img, svg')) return
868 if (!link.textContent?.trim()) return 868 if (!link.textContent?.trim()) return
869 869
870 let hostname: string 870 let hostname: string