version 1.81, 2000/10/25 19:26:52
|
version 1.82, 2000/10/28 08:52:21
|
Line 1712 static int areBlanks(htmlParserCtxtPtr c
|
Line 1712 static int areBlanks(htmlParserCtxtPtr c
|
lastChild = xmlGetLastChild(ctxt->node); |
lastChild = xmlGetLastChild(ctxt->node); |
if (lastChild == NULL) { |
if (lastChild == NULL) { |
if (ctxt->node->content != NULL) return(0); |
if (ctxt->node->content != NULL) return(0); |
} else if (xmlNodeIsText(lastChild)) |
} else if (xmlNodeIsText(lastChild)) { |
return(0); |
return(0); |
|
} else if (xmlStrEqual(lastChild->name, BAD_CAST"b")) { |
|
return(0); |
|
} else if (xmlStrEqual(lastChild->name, BAD_CAST"bold")) { |
|
return(0); |
|
} else if (xmlStrEqual(lastChild->name, BAD_CAST"em")) { |
|
return(0); |
|
} |
return(1); |
return(1); |
} |
} |
|
|