|
@@ -243,7 +243,7 @@ def hook_postconvert_size():
|
243
|
243
|
def matched_link(matchobj):
|
244
|
244
|
try:
|
245
|
245
|
path = matchobj.group(1)
|
246
|
|
- if path.startswith("http") or path.startswith("//"):
|
|
246
|
+ if path.startswith("http") or path.startswith("//") or path.startswith("ftp"):
|
247
|
247
|
return '<a href=\"%s\">%s</a>' % (matchobj.group(1), matchobj.group(3))
|
248
|
248
|
elif path.startswith("/"):
|
249
|
249
|
path = path.strip("/")
|