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

Commite8d1802

Browse files
committed
Fix#90: new PEP8 errors. These are both slight indentation bugs.
1 parent64e6f13 commite8d1802

File tree

1 file changed

+56
-56
lines changed

1 file changed

+56
-56
lines changed

‎html5lib/html5parser.py

Lines changed: 56 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def mainLoop(self):
169169
(self.isMathMLTextIntegrationPoint(currentNode)and
170170
((type==StartTagTokenand
171171
token["name"]notinfrozenset(["mglyph","malignmark"]))or
172-
typein (CharactersToken,SpaceCharactersToken)))or
172+
typein (CharactersToken,SpaceCharactersToken)))or
173173
(currentNodeNamespace==namespaces["mathml"]and
174174
currentNodeName=="annotation-xml"and
175175
token["name"]=="svg")or
@@ -507,61 +507,61 @@ def processDoctype(self, token):
507507

508508
if (notcorrectortoken["name"]!="html"
509509
orpublicId.startswith(
510-
("+//silmaril//dtd html pro v0r11 19970101//",
511-
"-//advasoft ltd//dtd html 3.0 aswedit + extensions//",
512-
"-//as//dtd html 3.0 aswedit + extensions//",
513-
"-//ietf//dtd html 2.0 level 1//",
514-
"-//ietf//dtd html 2.0 level 2//",
515-
"-//ietf//dtd html 2.0 strict level 1//",
516-
"-//ietf//dtd html 2.0 strict level 2//",
517-
"-//ietf//dtd html 2.0 strict//",
518-
"-//ietf//dtd html 2.0//",
519-
"-//ietf//dtd html 2.1e//",
520-
"-//ietf//dtd html 3.0//",
521-
"-//ietf//dtd html 3.2 final//",
522-
"-//ietf//dtd html 3.2//",
523-
"-//ietf//dtd html 3//",
524-
"-//ietf//dtd html level 0//",
525-
"-//ietf//dtd html level 1//",
526-
"-//ietf//dtd html level 2//",
527-
"-//ietf//dtd html level 3//",
528-
"-//ietf//dtd html strict level 0//",
529-
"-//ietf//dtd html strict level 1//",
530-
"-//ietf//dtd html strict level 2//",
531-
"-//ietf//dtd html strict level 3//",
532-
"-//ietf//dtd html strict//",
533-
"-//ietf//dtd html//",
534-
"-//metrius//dtd metrius presentational//",
535-
"-//microsoft//dtd internet explorer 2.0 html strict//",
536-
"-//microsoft//dtd internet explorer 2.0 html//",
537-
"-//microsoft//dtd internet explorer 2.0 tables//",
538-
"-//microsoft//dtd internet explorer 3.0 html strict//",
539-
"-//microsoft//dtd internet explorer 3.0 html//",
540-
"-//microsoft//dtd internet explorer 3.0 tables//",
541-
"-//netscape comm. corp.//dtd html//",
542-
"-//netscape comm. corp.//dtd strict html//",
543-
"-//o'reilly and associates//dtd html 2.0//",
544-
"-//o'reilly and associates//dtd html extended 1.0//",
545-
"-//o'reilly and associates//dtd html extended relaxed 1.0//",
546-
"-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//",
547-
"-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//",
548-
"-//spyglass//dtd html 2.0 extended//",
549-
"-//sq//dtd html 2.0 hotmetal + extensions//",
550-
"-//sun microsystems corp.//dtd hotjava html//",
551-
"-//sun microsystems corp.//dtd hotjava strict html//",
552-
"-//w3c//dtd html 3 1995-03-24//",
553-
"-//w3c//dtd html 3.2 draft//",
554-
"-//w3c//dtd html 3.2 final//",
555-
"-//w3c//dtd html 3.2//",
556-
"-//w3c//dtd html 3.2s draft//",
557-
"-//w3c//dtd html 4.0 frameset//",
558-
"-//w3c//dtd html 4.0 transitional//",
559-
"-//w3c//dtd html experimental 19960712//",
560-
"-//w3c//dtd html experimental 970421//",
561-
"-//w3c//dtd w3 html//",
562-
"-//w3o//dtd w3 html 3.0//",
563-
"-//webtechs//dtd mozilla html 2.0//",
564-
"-//webtechs//dtd mozilla html//"))
510+
("+//silmaril//dtd html pro v0r11 19970101//",
511+
"-//advasoft ltd//dtd html 3.0 aswedit + extensions//",
512+
"-//as//dtd html 3.0 aswedit + extensions//",
513+
"-//ietf//dtd html 2.0 level 1//",
514+
"-//ietf//dtd html 2.0 level 2//",
515+
"-//ietf//dtd html 2.0 strict level 1//",
516+
"-//ietf//dtd html 2.0 strict level 2//",
517+
"-//ietf//dtd html 2.0 strict//",
518+
"-//ietf//dtd html 2.0//",
519+
"-//ietf//dtd html 2.1e//",
520+
"-//ietf//dtd html 3.0//",
521+
"-//ietf//dtd html 3.2 final//",
522+
"-//ietf//dtd html 3.2//",
523+
"-//ietf//dtd html 3//",
524+
"-//ietf//dtd html level 0//",
525+
"-//ietf//dtd html level 1//",
526+
"-//ietf//dtd html level 2//",
527+
"-//ietf//dtd html level 3//",
528+
"-//ietf//dtd html strict level 0//",
529+
"-//ietf//dtd html strict level 1//",
530+
"-//ietf//dtd html strict level 2//",
531+
"-//ietf//dtd html strict level 3//",
532+
"-//ietf//dtd html strict//",
533+
"-//ietf//dtd html//",
534+
"-//metrius//dtd metrius presentational//",
535+
"-//microsoft//dtd internet explorer 2.0 html strict//",
536+
"-//microsoft//dtd internet explorer 2.0 html//",
537+
"-//microsoft//dtd internet explorer 2.0 tables//",
538+
"-//microsoft//dtd internet explorer 3.0 html strict//",
539+
"-//microsoft//dtd internet explorer 3.0 html//",
540+
"-//microsoft//dtd internet explorer 3.0 tables//",
541+
"-//netscape comm. corp.//dtd html//",
542+
"-//netscape comm. corp.//dtd strict html//",
543+
"-//o'reilly and associates//dtd html 2.0//",
544+
"-//o'reilly and associates//dtd html extended 1.0//",
545+
"-//o'reilly and associates//dtd html extended relaxed 1.0//",
546+
"-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//",
547+
"-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//",
548+
"-//spyglass//dtd html 2.0 extended//",
549+
"-//sq//dtd html 2.0 hotmetal + extensions//",
550+
"-//sun microsystems corp.//dtd hotjava html//",
551+
"-//sun microsystems corp.//dtd hotjava strict html//",
552+
"-//w3c//dtd html 3 1995-03-24//",
553+
"-//w3c//dtd html 3.2 draft//",
554+
"-//w3c//dtd html 3.2 final//",
555+
"-//w3c//dtd html 3.2//",
556+
"-//w3c//dtd html 3.2s draft//",
557+
"-//w3c//dtd html 4.0 frameset//",
558+
"-//w3c//dtd html 4.0 transitional//",
559+
"-//w3c//dtd html experimental 19960712//",
560+
"-//w3c//dtd html experimental 970421//",
561+
"-//w3c//dtd w3 html//",
562+
"-//w3o//dtd w3 html 3.0//",
563+
"-//webtechs//dtd mozilla html 2.0//",
564+
"-//webtechs//dtd mozilla html//"))
565565
orpublicIdin
566566
("-//w3o//dtd w3 html strict 3.0//en//",
567567
"-/w3c/dtd html 4.0 transitional/en",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp