Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit fce66d5

Browse files
committedJul 13, 2016
Get rid of getPhases.
With this we no longer include "process the token using the rules for" phases in the debug log.
1 parent 699276b commit fce66d5

File tree

2 files changed

+2089
-2084
lines changed

2 files changed

+2089
-2084
lines changed
 

Diff for: ‎html5lib/html5parser.py

+2,089-2,083
Large diffs are not rendered by default.

Diff for: ‎html5lib/tests/test_parser2.py

-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ def test_debug_log():
7575
('dataState', 'InBodyPhase', 'InBodyPhase', 'processStartTag', {'name': 'p', 'type': 'StartTag'}),
7676
('dataState', 'InBodyPhase', 'InBodyPhase', 'processCharacters', {'type': 'Characters'}),
7777
('dataState', 'InBodyPhase', 'InBodyPhase', 'processStartTag', {'name': 'script', 'type': 'StartTag'}),
78-
('dataState', 'InBodyPhase', 'InHeadPhase', 'processStartTag', {'name': 'script', 'type': 'StartTag'}),
7978
('scriptDataState', 'TextPhase', 'TextPhase', 'processCharacters', {'type': 'Characters'}),
8079
('dataState', 'TextPhase', 'TextPhase', 'processEndTag', {'name': 'script', 'type': 'EndTag'}),
8180
('dataState', 'InBodyPhase', 'InBodyPhase', 'processCharacters', {'type': 'Characters'}),

0 commit comments

Comments
 (0)
Please sign in to comment.