diff options
author | JensDiemer <git@jensdiemer.de> | 2012-09-03 17:11:27 +0200 |
---|---|---|
committer | JensDiemer <git@jensdiemer.de> | 2012-09-03 17:11:27 +0200 |
commit | a6ce4821ee25c9c46cc505b91d04ed8e1773d4d4 (patch) | |
tree | bdf4be636633d26c2bdc187ea22959934b61c1b9 /creole/tests | |
parent | dbeb4d79426076ecfe23fc08ad520ecc17a2e5e6 (diff) | |
download | creole-a6ce4821ee25c9c46cc505b91d04ed8e1773d4d4.tar.gz |
made automatic protocol links more strict: Only whitespace before and at the end are allowed.
Diffstat (limited to 'creole/tests')
-rw-r--r-- | creole/tests/test_creole2html.py | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/creole/tests/test_creole2html.py b/creole/tests/test_creole2html.py index 6e60fc1..897397b 100644 --- a/creole/tests/test_creole2html.py +++ b/creole/tests/test_creole2html.py @@ -12,7 +12,7 @@ Test the creole markup. - :copyleft: 2008-2011 by python-creole team, see AUTHORS for more details. + :copyleft: 2008-2012 by python-creole team, see AUTHORS for more details. :license: GNU GPL v3 or above, see LICENSE for more details. """ @@ -555,7 +555,7 @@ class TestCreole2htmlMarkup(BaseCreoleTest): self.assert_creole2html(r""" A http://en.wikipedia.org/wiki/Uri_(Island) link. """, """ - <p>A <a href="http://en.wikipedia.org/wiki/Uri_(Island)">http://en.wikipedia.org/wiki/Uri_(Island)</a>) link.</p> + <p>A <a href="http://en.wikipedia.org/wiki/Uri_(Island)">http://en.wikipedia.org/wiki/Uri_(Island)</a> link.</p> """) def test_wrong_protocol(self): @@ -579,11 +579,6 @@ class TestCreole2htmlMarkup(BaseCreoleTest): """, """ <p>missing space.ftp://ok</p> """) - self.assert_creole2html(r""" - ftp://ok(Also missed space) - """, """ - <p>ftp://ok(Also missed space)</p> - """) class TestStr2Dict(unittest.TestCase): |