Skip to content

Commit 842300e

Browse files
committed
Merge to tip
2 parents 577f988 + b39e8a0 commit 842300e

File tree

5 files changed

+742
-337
lines changed

5 files changed

+742
-337
lines changed

src/html5lib/constants.py

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -256,21 +256,18 @@
256256
_(u"Unexpected end of file. Expected select content."),
257257
"eof-in-frameset":
258258
_(u"Unexpected end of file. Expected frameset content."),
259+
"eof-in-script-in-script":
260+
_(u"Unexpected end of file. Expected script content."),
259261
"non-void-element-with-trailing-solidus":
260262
_(u"Trailing solidus not allowed on element %(name)s"),
261263
"unexpected-html-element-in-foreign-content":
262264
_(u"Element %(name)s not allowed in a non-html context"),
265+
"unexpected-end-tag-before-html":
266+
_(u"Unexpected end tag (%(name)s) before html."),
263267
"XXX-undefined-error":
264268
(u"Undefined error (this sucks and should be fixed)"),
265269
}
266270

267-
contentModelFlags = {
268-
"PCDATA":0,
269-
"RCDATA":1,
270-
"CDATA":2,
271-
"PLAINTEXT":3
272-
}
273-
274271
namespaces = {
275272
"html":"http://www.w3.org/1999/xhtml",
276273
"mathml":"http://www.w3.org/1998/Math/MathML",

0 commit comments

Comments
 (0)