Kaydet (Commit) dcc977b3 authored tarafından Matteo Casalin's avatar Matteo Casalin

switch: ungroup two case which perform different operations

Change-Id: I099501a596ebeb2820192d08de80eae342191bb7
üst c91a7415
......@@ -355,14 +355,19 @@ int HTMLParser::FilterToken( int nToken )
bIsInBody = true;
bIsInHeader = false;
break;
case HTML_HEAD_ON:
bIsInHeader = true;
break;
case HTML_BODY_ON:
bIsInHeader = false;
bIsInBody = true;
break;
case HTML_FRAMESET_ON:
bIsInHeader = false;
bIsInBody = HTML_BODY_ON == nToken;
bIsInBody = false;
break;
case HTML_BODY_OFF:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment