From fb587e1ae636c1a2723c1a87e75f20ec121021fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 10 Dec 2017 21:38:28 +0100 Subject: [PATCH] tests: avoid invalid HTML markup in the tests. --- pelican/tests/test_contents.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pelican/tests/test_contents.py b/pelican/tests/test_contents.py index d028c7a1..af9b06bb 100644 --- a/pelican/tests/test_contents.py +++ b/pelican/tests/test_contents.py @@ -294,28 +294,28 @@ class TestPage(LoggedTestCase): args['content'] = ( 'A simple test, with a ' 'link' + '?utm_whatever=234&highlight=word">link' ) content = Page(**args).get_content('http://notmyidea.org') self.assertEqual( content, 'A simple test, with a ' 'link' + '?utm_whatever=234&highlight=word">link' ) # combination args['content'] = ( 'A simple test, with a ' 'link' + '?utm_whatever=234&highlight=word#section-2">link' ) content = Page(**args).get_content('http://notmyidea.org') self.assertEqual( content, 'A simple test, with a ' 'link' + '?utm_whatever=234&highlight=word#section-2">link' ) # also test for summary in metadata