Merge pull request #10 from stevenle/master
Empty <progress> tags no longer stripped. Fixes #10.
This commit is contained in:
commit
f4edfc693b
|
@ -288,6 +288,8 @@ static Bool CanPrune( TidyDocImpl* doc, Node *element )
|
|||
if (nodeIsCANVAS(element))
|
||||
return no;
|
||||
|
||||
if (nodeIsPROGRESS(element))
|
||||
return no;
|
||||
|
||||
if ( attrGetID(element) || attrGetNAME(element) )
|
||||
return no;
|
||||
|
|
|
@ -231,5 +231,6 @@ uint TY_(nodeHeaderLevel)( Node* node ); /* 1, 2, ..., 6 */
|
|||
#define nodeIsMENU( node ) TagIsId( node, TidyTag_MENU )
|
||||
#define nodeIsBUTTON( node ) TagIsId( node, TidyTag_BUTTON )
|
||||
#define nodeIsCANVAS( node ) TagIsId( node, TidyTag_CANVAS )
|
||||
#define nodeIsPROGRESS( node ) TagIsId( node, TidyTag_PROGRESS )
|
||||
|
||||
#endif /* __TAGS_H__ */
|
||||
|
|
Loading…
Reference in a new issue