We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c74ec3 commit 9be1f9eCopy full SHA for 9be1f9e
preprocess.py
@@ -146,7 +146,7 @@ def find_html_files(root):
146
return html_files
147
148
def fix_relative_link(rename_map, target):
149
- if 'http://' in target or 'https://' in target:
+ if re.match('(ht|f)tps?://', target):
150
return target
151
152
target = urllib.parse.unquote(target)
0 commit comments