diff --git a/scripts/generate.py b/scripts/generate.py index 921f805..833d221 100644 --- a/scripts/generate.py +++ b/scripts/generate.py @@ -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