Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion app/filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,9 @@ def update_link(self, link: Tag) -> None:
if parent.name == 'footer' or f'{GClasses.footer}' in p_cls:
link.decompose()
parent = parent.parent
return

if link.decomposed:
return

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