From 60d8271ecf52a8f9af8e88b49c176875a1797fff Mon Sep 17 00:00:00 2001 From: Geoff McLane Date: Sun, 25 Jan 2015 20:10:41 +0100 Subject: [PATCH] Issue #132 - no warning when inserting a BODY tag --- src/parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser.c b/src/parser.c index 6983dca..ca8e51d 100644 --- a/src/parser.c +++ b/src/parser.c @@ -4170,7 +4170,7 @@ void TY_(ParseHTML)(TidyDocImpl* doc, Node *html, GetTokenMode mode) } node = TY_(InferredTag)(doc, TidyTag_BODY); - TY_(ReportError)(doc, html, node, INSERTING_TAG ); + /* Issue #132 - disable inserting BODY tag warning TY_(ReportError)(doc, html, node, INSERTING_TAG ); */ TY_(ConstrainVersion)(doc, ~VERS_FRAMESET); break; }