diff options
author | Mike Dirolf <mike@dirolf.com> | 2012-01-14 12:47:20 -0500 |
---|---|---|
committer | Mike Dirolf <mike@dirolf.com> | 2012-01-14 12:47:20 -0500 |
commit | 542324b626e96eb368c1cac34beba2b95af5deb7 (patch) | |
tree | 2c1c5405ada99eef2c9a07a8811be469cdff10ad | |
parent | e5d49077660d0000fd10d937f24b73b26712724a (diff) | |
download | markdown-542324b626e96eb368c1cac34beba2b95af5deb7.tar.gz markdown-542324b626e96eb368c1cac34beba2b95af5deb7.tar.bz2 markdown-542324b626e96eb368c1cac34beba2b95af5deb7.zip |
Fix logic bug introduced in 35930e0928e19...
-rw-r--r-- | markdown/inlinepatterns.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown/inlinepatterns.py b/markdown/inlinepatterns.py index 51b06d9..1829348 100644 --- a/markdown/inlinepatterns.py +++ b/markdown/inlinepatterns.py @@ -322,7 +322,7 @@ class LinkPattern(Pattern): return '' locless_schemes = ['', 'mailto', 'news'] - if netloc == '' or scheme not in locless_schemes: + if netloc == '' and scheme not in locless_schemes: # This fails regardless of anything else. # Return immediately to save additional proccessing return '' |