From 2ef1a1895b49b3f1aa4790dc5bbf2c186c8a3966 Mon Sep 17 00:00:00 2001
From: MinchinWeb
Date: Sat, 13 Oct 2018 09:47:10 -0600
Subject: [PATCH] Update test output to match Markdown v3 output
Markdown v3 changes slightly the generated HTML for footnotes.
---
pelican/tests/test_readers.py | 17 ++++++++++-------
requirements/test.pip | 2 +-
2 files changed, 11 insertions(+), 8 deletions(-)
diff --git a/pelican/tests/test_readers.py b/pelican/tests/test_readers.py
index 4db4938e..dabc4ec2 100644
--- a/pelican/tests/test_readers.py
+++ b/pelican/tests/test_readers.py
@@ -447,20 +447,23 @@ class MdReaderTest(ReaderTest):
_path('article_with_markdown_and_footnote.md'))
expected_content = (
'This is some content'
- ''
' with some footnotes'
- '
\n'
+ '
\n'
'')
expected_metadata = {
diff --git a/requirements/test.pip b/requirements/test.pip
index fa2634a0..edd29035 100644
--- a/requirements/test.pip
+++ b/requirements/test.pip
@@ -2,7 +2,7 @@
mock
# Optional Packages
-Markdown
+Markdown >= 3.0
BeautifulSoup4
lxml
typogrify