Lines Matching refs:newtag
1105 * @newtag: The new tag name
1115 htmlCheckAutoClose(const xmlChar * newtag, const xmlChar * oldtag)
1128 if (xmlStrEqual(BAD_CAST * closed, newtag))
1146 * @newtag: The new tag name
1152 htmlAutoCloseOnClose(htmlParserCtxtPtr ctxt, const xmlChar * newtag)
1157 priority = htmlGetEndPriority(newtag);
1161 if (xmlStrEqual(newtag, ctxt->nameTab[i]))
1175 while (!xmlStrEqual(newtag, ctxt->name)) {
1180 newtag, ctxt->name);
1211 * @newtag: The new tag name or NULL
1217 * If newtag is NULL this mean we are at the end of the resource
1221 htmlAutoClose(htmlParserCtxtPtr ctxt, const xmlChar * newtag)
1223 while ((newtag != NULL) && (ctxt->name != NULL) &&
1224 (htmlCheckAutoClose(newtag, ctxt->name))) {
1229 if (newtag == NULL) {
1233 while ((newtag == NULL) && (ctxt->name != NULL) &&
1298 * @newtag: The new tag name
1305 htmlCheckImplied(htmlParserCtxtPtr ctxt, const xmlChar *newtag) {
1308 if (xmlStrEqual(newtag, BAD_CAST"html"))
1315 if ((xmlStrEqual(newtag, BAD_CAST"body")) || (xmlStrEqual(newtag, BAD_CAST"head")))
1318 ((xmlStrEqual(newtag, BAD_CAST"script")) ||
1319 (xmlStrEqual(newtag, BAD_CAST"style")) ||
1320 (xmlStrEqual(newtag, BAD_CAST"meta")) ||
1321 (xmlStrEqual(newtag, BAD_CAST"link")) ||
1322 (xmlStrEqual(newtag, BAD_CAST"title")) ||
1323 (xmlStrEqual(newtag, BAD_CAST"base")))) {
1331 } else if ((!xmlStrEqual(newtag, BAD_CAST"noframes")) &&
1332 (!xmlStrEqual(newtag, BAD_CAST"frame")) &&
1333 (!xmlStrEqual(newtag, BAD_CAST"frameset"))) {