Skip to content

Commit 349b87e

Browse files
Fix unsupported_g_pages in result list (#996)
Closes #995
1 parent 1eb8e04 commit 349b87e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

app/filter.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,9 @@ def update_link(self, link: Tag) -> None:
486486
if parent.name == 'footer' or f'{GClasses.footer}' in p_cls:
487487
link.decompose()
488488
parent = parent.parent
489-
return
489+
490+
if link.decomposed:
491+
return
490492

491493
# Replace href with only the intended destination (no "utm" type tags)
492494
href = link['href'].replace('https://www.google.com', '')

0 commit comments

Comments
 (0)