allow https URI scheme in links, continued
This commit is contained in:
parent
84a666a86d
commit
e65b9b97b5
|
@ -96,7 +96,8 @@ def usage(code, msg=''):
|
|||
def fixanchor(current, match):
|
||||
text = match.group(0)
|
||||
link = None
|
||||
if text.startswith('http:') or text.startswith('ftp:'):
|
||||
if (text.startswith('http:') or text.startswith('https:')
|
||||
or text.startswith('ftp:')):
|
||||
# Strip off trailing punctuation. Pattern taken from faqwiz.
|
||||
ltext = list(text)
|
||||
while ltext:
|
||||
|
|
Loading…
Reference in New Issue