01c84ca3f677222f58441844253a9b1f9bc04c50 galt Thu Jul 19 14:42:55 2012 -0700 fixing so htmlCheck can tolerate the odd hidden variables outside of forms diff --git src/lib/htmlPage.c src/lib/htmlPage.c index a6b4ae1..cb8b01b 100644 --- src/lib/htmlPage.c +++ src/lib/htmlPage.c @@ -1564,31 +1564,31 @@ } /* Stream through tags making sure that insiders are * at least one deep inside of outsiders. */ for (tag = startTag; tag != NULL; tag = tag->next) { char *type = tag->name; if (hashLookup(outOpen, type )) ++depth; else if (hashLookup(outClose, type)) --depth; else if (hashLookup(inHash, type)) { if (depth <= 0) { - if (!startsWith("<INPUT TYPE=HIDDEN NAME='db' VALUE='", tag->start)) // one exception hardwired + if (!startsWith("<INPUT TYPE=HIDDEN NAME=", tag->start)) // one exception hardwired tagAbort(page, tag, "%s outside of any of %s", type, outsiders); } } } freeHash(&inHash); freeHash(&outOpen); freeHash(&outClose); freeMem(outDupe); freeMem(inDupe); } static void checkNest(struct htmlPage *page, char *type, struct htmlTag *startTag, struct htmlTag *endTag) /* Check that <type> and </type> tags are properly nested. */ {