Forgot one file...

This commit is contained in:
Jim Derry 2016-02-13 11:53:53 +08:00
parent 896b00238b
commit 2cdedb4a63

View file

@ -1552,7 +1552,7 @@ void TY_(CheckHTML5)( TidyDocImpl* doc, Node* node )
} else } else
if (TY_(nodeIsElement)(node)) { if (TY_(nodeIsElement)(node)) {
if (node->tag) { if (node->tag) {
if ((!(node->tag->versions & VERS_HTML5))||(inRemovedInfo(node->tag->id))) { if ( (!(node->tag->versions & VERS_HTML5) && !(node->tag->versions & VERS_PROPRIETARY)) || (inRemovedInfo(node->tag->id)) ) {
if ( !already_strict ) if ( !already_strict )
TY_(ReportWarning)(doc, node, node, REMOVED_HTML5); TY_(ReportWarning)(doc, node, node, REMOVED_HTML5);
} }