8000 Missing error codes · html5lib/html5lib-python@2f50d60 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2f50d60

Browse files
author
James Graham
committed
Missing error codes
1 parent 07c4a97 commit 2f50d60

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

html5lib/constants.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
E = {
1414
"null-character":
1515
_(u"Null character in input stream, replaced with U+FFFD."),
16-
"invalid-character":
16+
"invalid-codepoint":
1717
_(u"Invalid codepoint in stream."),
1818
"incorrectly-placed-solidus":
1919
_(u"Solidus (/) incorrectly placed in tag."),
@@ -74,6 +74,10 @@
7474
_(u"Unexpected = in unquoted attribute"),
7575
'unexpected-character-in-unquoted-attribute-value':
7676
_(u"Unexpected character in unquoted attribute"),
77+
"invalid-character-after-attribute-name":
78+
_(u"Unexpected character after attribute name."),
79+
"unexpected-character-after-attribute-value":
80+
_(u"Unexpected character after attribute value."),
7781
"eof-in-attribute-value-double-quote":
7882
_(u"Unexpected end of file in attribute value (\")."),
7983
"eof-in-attribute-value-single-quote":
@@ -100,6 +104,10 @@
100104
_(u"Unexpected '-' after '--' found in comment."),
101105
"eof-in-comment-double-dash":
102106
_(u"Unexpected end of file in comment (--)."),
107+
"eof-in-comment-end-space-state":
108+
_(u"Unexpected end of file in comment."),
109+
"eof-in-comment-end-bang-state":
110+
_(u"Unexpected end of file in comment."),
103111
"unexpected-char-in-comment":
104112
_(u"Unexpected character in comment found."),
105113
"need-space-after-doctype":

0 commit comments

Comments
 (0)
0