8000 New error code · sigmundch/html5lib-python@32db204 · GitHub
[go: up one dir, main page]

Skip to content
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 32db204

Browse files
author
James Graham
committed
New error code
1 parent 858e1d3 commit 32db204

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

html5lib/constants.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,8 @@
260260
_(u"Unexpected end of file. Expected frameset content."),
261261
"eof-in-script-in-script":
262262
_(u"Unexpected end of file. Expected script content."),
263+
"eof-in-foreign-lands":
264+
_(u"Unexpected end of file. Expected foreign content"),
263265
"non-void-element-with-trailing-solidus":
264266
_(u"Trailing solidus not allowed on element %(name)s"),
265267
"unexpected-html-element-in-foreign-content":

0 commit comments

Comments
 (0)
0