Skip to content

Commit 38cf7dd

Browse files
committed
fix typo
--HG-- extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%401109
1 parent 50f838a commit 38cf7dd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/html5lib/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@
170170
"unexpected-char-implies-table-voodoo":
171171
_(u"Unexpected non-space characters in "
172172
u"table context caused voodoo mode."),
173-
"unpexted-hidden-input-in-table":
173+
"unexpected-hidden-input-in-table":
174174
_(u"Unexpected input with type hidden in table context."),
175175
"unexpected-start-tag-implies-table-voodoo":
176176
_(u"Unexpected start tag (%(name)s) in "

src/html5lib/html5parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1360,7 +1360,7 @@ def startTagStyleScript(self, name, attributes):
13601360

13611361
def startTagInput(self, name, attributes):
13621362
if "type" in attributes and attributes["type"].translate(asciiUpper2Lower) == "hidden" and "tainted" not in self.getCurrentTable()._flags:
1363-
self.parser.parseError("unpexted-hidden-input-in-table")
1363+
self.parser.parseError("unexpected-hidden-input-in-table")
13641364
self.tree.insertElement(name, attributes)
13651365
# XXX associate with form
13661366
self.tree.openElements.pop()

0 commit comments

Comments
 (0)