From c0035bd7d77cf7d8337bac7c109b167d69a2e7a0 Mon Sep 17 00:00:00 2001 From: Benjamin Bach Date: Fri, 3 Aug 2018 16:55:57 +0200 Subject: [PATCH] Updates to caption tests to match expected HTML output --- tests/plugins/images/test_markdown.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/plugins/images/test_markdown.py b/tests/plugins/images/test_markdown.py index 6198a511..6c31b195 100644 --- a/tests/plugins/images/test_markdown.py +++ b/tests/plugins/images/test_markdown.py @@ -18,23 +18,23 @@ class ImageMarkdownTests(RequireRootArticleMixin, TestBase): self.assertNotIn("[image:1 align:left]", md_text) md_text = md.convert("image: [image:1 align:left]\nadasd") self.assertIn("this is visual", md_text) md = markdown.ArticleMarkdown(article=self.root_article) md_text = md.convert("[image:1 align:left]\n this is visual\n second line") self.assertIn("this is visual\nsecond line", md_text) + self.assertIn("
this is visual\nsecond line
", md_text) def test_escape(self): md = markdown.ArticleMarkdown(article=self.root_article) -- 2.45.2