mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Match expected output from Markdown v3.0.2
This commit is contained in:
parent
2ef1a1895b
commit
ea6031cc23
2 changed files with 2 additions and 5 deletions
|
|
@ -448,22 +448,19 @@ class MdReaderTest(ReaderTest):
|
|||
expected_content = (
|
||||
'<p>This is some content'
|
||||
'<sup id="fnref:1"><a class="footnote-ref" href="#fn:1"'
|
||||
' rel="footnote"'
|
||||
'>1</a></sup>'
|
||||
' with some footnotes'
|
||||
'<sup id="fnref:footnote"><a class="footnote-ref" '
|
||||
'href="#fn:footnote" rel="footnote">2</a></sup></p>\n'
|
||||
'href="#fn:footnote">2</a></sup></p>\n'
|
||||
|
||||
'<div class="footnote">\n'
|
||||
'<hr>\n<ol>\n<li id="fn:1">\n'
|
||||
'<p>Numbered footnote '
|
||||
'<a class="footnote-backref" href="#fnref:1" '
|
||||
'rev="footnote" '
|
||||
'title="Jump back to footnote 1 in the text">↩</a></p>\n'
|
||||
'</li>\n<li id="fn:footnote">\n'
|
||||
'<p>Named footnote '
|
||||
'<a class="footnote-backref" href="#fnref:footnote"'
|
||||
' rev="footnote"'
|
||||
' title="Jump back to footnote 2 in the text">↩</a></p>\n'
|
||||
'</li>\n</ol>\n</div>')
|
||||
expected_metadata = {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
mock
|
||||
|
||||
# Optional Packages
|
||||
Markdown >= 3.0
|
||||
Markdown > 3.0.1
|
||||
BeautifulSoup4
|
||||
lxml
|
||||
typogrify
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue