Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bf24df3e2e | ||
|
|
15329588b1 | ||
|
|
77d1e99bd5 |
2
setup.py
2
setup.py
@@ -10,7 +10,7 @@ read = lambda filepath: codecs.open(filepath, 'r', 'utf-8').read()
|
||||
pkgmeta = {
|
||||
'__title__': 'markdownify',
|
||||
'__author__': 'Matthew Tretter',
|
||||
'__version__': '0.6.2',
|
||||
'__version__': '0.6.3',
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -110,6 +110,7 @@ def test_hn():
|
||||
assert md('<h3>Hello</h3>') == '### Hello\n\n'
|
||||
assert md('<h6>Hello</h6>') == '###### Hello\n\n'
|
||||
|
||||
|
||||
def test_hn_chained():
|
||||
assert md('<h1>First</h1>\n<h2>Second</h2>\n<h3>Third</h3>', heading_style=ATX) == '# First\n\n\n## Second\n\n\n### Third\n\n'
|
||||
assert md('X<h1>First</h1>', heading_style=ATX) == 'X# First\n\n'
|
||||
|
||||
Reference in New Issue
Block a user