Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit842300e

Browse files
committed
Merge to tip
2 parents577f988 +b39e8a0 commit842300e

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)

[8]ページ先頭

©2009-2025 Movatter.jp