Handle remaining link types.

This commit is contained in:
Sergio Martínez Portela 2022-05-16 23:27:26 +02:00
parent 0073dd8b84
commit 819948e969

View File

@ -116,7 +116,15 @@ def main(src_top, dest_top):
links.append({'target': l.value})
elif l.value.startswith('attachment:'):
pass # Ignore, attachment
elif l.value.startswith('* '):
elif l.value.startswith('file:'):
pass # Ignore, attachment
elif l.value.startswith('notmuch:'):
pass # Ignore, mail
elif l.value.startswith('orgit-rev:'):
pass # Ignore, mail
elif l.value.startswith('*'):
pass # Ignore, internal
elif not ':' in l.value.split()[0]:
pass # Ignore, internal
elif l.value.startswith('./'):
pass # TODO: Properly handle