File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11"""Minimal html parser/normalizer for use in test_templating.
22
3- When testing markdown -> html coversion libraries, there are
3+ When testing markdown -> html conversion libraries, there are
44gratuitous whitespace changes in generated output that break the
55tests. Use this to try to normalize the generated HTML into something
66that tries to preserve the semantic meaning allowing tests to stop
1313Ideally this would be done by hijacking in some way
1414lxml.html.usedoctest to get a liberal parser that will ignore
1515whitespace. But that means the user has to install lxml to run the
16- tests. Simlarly BeautifulSoup could be used to pretty print the html
17- but again then BeautifulSoup would need to be instaled to run the
16+ tests. Similarly BeautifulSoup could be used to pretty print the html
17+ but again, BeautifulSoup would need to be installed to run the
1818tests.
1919
2020"""
You can’t perform that action at this time.
0 commit comments