mirror of
https://github.com/php/php-src.git
synced 2024-12-11 10:54:47 +08:00
Should've added a few more cases to that bugfix switch.
This commit is contained in:
parent
8a36e954f0
commit
5d0f70a004
@ -989,6 +989,9 @@ static void tidy_add_default_properities(PHPTidyObj *obj, tidy_obj_type type TSR
|
||||
ADD_PROPERITY_STRING(obj->std.properties, name, tidyNodeGetName(obj->node));
|
||||
ADD_PROPERITY_LONG(obj->std.properties, type, tidyNodeGetType(obj->node));
|
||||
switch(tidyNodeGetType(obj->node)) {
|
||||
|
||||
case TidyNode_Root:
|
||||
case TidyNode_DocType:
|
||||
case TidyNode_Text:
|
||||
case TidyNode_Comment:
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user