Fix unsupported_g_pages in result list (#996)

Closes #995
main
Abhishek M J 2023-05-01 21:53:57 +05:30 committed by GitHub
parent 1eb8e04ed1
commit 349b87ec18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -486,6 +486,8 @@ class Filter:
if parent.name == 'footer' or f'{GClasses.footer}' in p_cls: if parent.name == 'footer' or f'{GClasses.footer}' in p_cls:
link.decompose() link.decompose()
parent = parent.parent parent = parent.parent
if link.decomposed:
return return
# Replace href with only the intended destination (no "utm" type tags) # Replace href with only the intended destination (no "utm" type tags)