Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

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)