Lines Matching refs:newtag
1096 * @newtag: The new tag name
1106 htmlCheckAutoClose(const xmlChar * newtag, const xmlChar * oldtag)
1119 if (xmlStrEqual(BAD_CAST * closed, newtag))
1137 * @newtag: The new tag name
1143 htmlAutoCloseOnClose(htmlParserCtxtPtr ctxt, const xmlChar * newtag)
1148 priority = htmlGetEndPriority(newtag);
1152 if (xmlStrEqual(newtag, ctxt->nameTab[i]))
1166 while (!xmlStrEqual(newtag, ctxt->name)) {
1171 newtag, ctxt->name);
1202 * @newtag: The new tag name or NULL
1208 * If newtag is NULL this mean we are at the end of the resource
1212 htmlAutoClose(htmlParserCtxtPtr ctxt, const xmlChar * newtag)
1214 while ((newtag != NULL) && (ctxt->name != NULL) &&
1215 (htmlCheckAutoClose(newtag, ctxt->name))) {
1220 if (newtag == NULL) {
1224 while ((newtag == NULL) && (ctxt->name != NULL) &&
1289 * @newtag: The new tag name
1296 htmlCheckImplied(htmlParserCtxtPtr ctxt, const xmlChar *newtag) {
1299 if (xmlStrEqual(newtag, BAD_CAST"html"))
1306 if ((xmlStrEqual(newtag, BAD_CAST"body")) || (xmlStrEqual(newtag, BAD_CAST"head")))
1309 ((xmlStrEqual(newtag, BAD_CAST"script")) ||
1310 (xmlStrEqual(newtag, BAD_CAST"style")) ||
1311 (xmlStrEqual(newtag, BAD_CAST"meta")) ||
1312 (xmlStrEqual(newtag, BAD_CAST"link")) ||
1313 (xmlStrEqual(newtag, BAD_CAST"title")) ||
1314 (xmlStrEqual(newtag, BAD_CAST"base")))) {
1322 } else if ((!xmlStrEqual(newtag, BAD_CAST"noframes")) &&
1323 (!xmlStrEqual(newtag, BAD_CAST"frame")) &&
1324 (!xmlStrEqual(newtag, BAD_CAST"frameset"))) {