Small fix

This commit is contained in:
Guillem Hernandez Sola
2026-05-11 12:49:20 +02:00
parent 2e38f048ae
commit 124a1c5169

View File

@@ -564,7 +564,7 @@ def extract_urls_from_text(text):
return []
repaired = repair_broken_urls(text)
pattern = r'(?:(?:https?://)|(?:www\.))[^\s<>"\'']+'
pattern = r'(?:(?:https?://)|(?:www\.))[^\s<>"\']+'
return re.findall(pattern, repaired)