8000 IE7 doesn't support &mdash · awesome-python/html5lib-python@fc56338 · GitHub
[go: up one dir, main page]

Skip to content

Commit fc56338

Browse files
committed
IE7 doesn't support &mdash
--HG-- extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%40811
1 parent 374019c commit fc56338

File tree

1 changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_lxp.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ def test_title_body_mismatched_close(self):
5656

5757
def test_title_body_named_charref(self):
5858
self.assertXhtmlEquals(
59-
'<title>mdash</title>A &mdash B',
59+
'<title>ntilde</title>A &ntilde B',
6060
'<html xmlns="http://www.w3.org/1999/xhtml">'
61-
'<head><title>mdash</title></head>' +
62-
'<body>A '+ unichr(0x2014).encode('utf-8') + ' B</body>' +
61+
'<head><title>ntilde</title></head>' +
62+
'<body>A '+ unichr(0xf1).encode('utf-8') + ' B</body>' +
6363
'</html>')
6464

6565
class BasicXmlTest(Xhtml5Test):

0 commit comments

Comments
 (0)
0