HTML corner case for doctype=CustomDocType
This commit is contained in:
@@ -233,6 +233,9 @@ class TestBareHelpers(unittest.TestCase):
|
||||
'<!DOCTYPE HTML>\n<html a="1" b="2" lang="en"><></html>')
|
||||
self.assertEqual(HTML('<>', _a='1', _b='2', doctype='').xml(),
|
||||
'<html a="1" b="2" lang="en"><></html>')
|
||||
self.assertEqual(HTML('<>', _a='1', _b='2', doctype='CustomDocType').xml(),
|
||||
'CustomDocType\n<html a="1" b="2" lang="en"><></html>')
|
||||
|
||||
|
||||
def test_XHTML(self):
|
||||
# Empty XHTML test
|
||||
|
||||
Reference in New Issue
Block a user