Update.
This commit is contained in:
parent
20d8d27f03
commit
3d6e1d2e94
@ -16,6 +16,8 @@ def set_link_target_blank(text):
|
||||
|
||||
|
||||
def linkify_https(text):
|
||||
if not "https://" in text:
|
||||
return text
|
||||
url_pattern = r'(?<!["\'])\bhttps://[^\s<>()]+'
|
||||
|
||||
soup = BeautifulSoup(text, 'html.parser')
|
||||
|
Loading…
Reference in New Issue
Block a user