Skip to content

Commit a66ea96

Browse files
committed
fix the testcase we didn't pass; reported spec bug to implementors@whatwg.org
--HG-- extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%40275
1 parent bd0af34 commit a66ea96

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/parser.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,9 @@ def addFormattingElement(self, name, attributes):
801801
self.parser.openElements[-1])
802802

803803
# the real deal
804-
def processCharacter(self, data):
804+
def processNonSpaceCharacter(self, data):
805+
# XXX The specification says to do this for every character at the
806+
# moment, but apparently that doesn't match the real world...
805807
self.parser.reconstructActiveFormattingElements()
806808
self.parser.insertText(data)
807809

0 commit comments

Comments
 (0)