Issue #377 - Table summary attribute also applies to XHTML5
This commit is contained in:
parent
9a80938246
commit
7bdc31af76
|
@ -924,7 +924,8 @@ void CheckTABLE( TidyDocImpl* doc, Node *node )
|
||||||
{
|
{
|
||||||
AttVal* attval;
|
AttVal* attval;
|
||||||
Bool HasSummary = (TY_(AttrGetById)(node, TidyAttr_SUMMARY) != NULL) ? yes : no;
|
Bool HasSummary = (TY_(AttrGetById)(node, TidyAttr_SUMMARY) != NULL) ? yes : no;
|
||||||
Bool isHTML5 = (TY_(HTMLVersion)(doc) == HT50) ? yes : no;
|
uint vers = TY_(HTMLVersion)(doc); /* Issue #377 - Also applies to XHTML5 */
|
||||||
|
Bool isHTML5 = ((vers == HT50)||(vers == XH50)) ? yes : no;
|
||||||
|
|
||||||
TY_(CheckAttributes)(doc, node);
|
TY_(CheckAttributes)(doc, node);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue