diff --git a/pelican/tests/test_contents.py b/pelican/tests/test_contents.py index 32012d4f..3a223b5a 100644 --- a/pelican/tests/test_contents.py +++ b/pelican/tests/test_contents.py @@ -522,6 +522,16 @@ class TestPage(TestBase): '' ) + # Image link will go to static + args['content'] = ( + '' + ) + content = Page(**args).get_content('http://cool.site') + self.assertEqual( + content, + '' + ) + def test_intrasite_link_escape(self): article = type( '_DummyArticle', (object,), {'url': 'article-spaces.html'})