allow https URI scheme in links, continued

This commit is contained in:
David Goodger 2004-07-19 19:05:01 +00:00
parent 84a666a86d
commit e65b9b97b5
1 changed files with 2 additions and 1 deletions

View File

@ -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: