mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-08-08 17:42:14 +03:00
Trying another better solution at the <a> </a> problem, Daniel
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
Thu Mar 2 04:45:15 CET 2000 Daniel Veillard <Daniel.Veillard@w3.org>
|
||||
|
||||
* parser.c: seems a better solution to <a> </a> exists,
|
||||
will try it for a while
|
||||
|
||||
Thu Mar 2 02:26:13 CET 2000 Daniel Veillard <Daniel.Veillard@w3.org>
|
||||
|
||||
* parser.c: tried to remove the <a> </a> generating <a/>
|
||||
|
2
parser.c
2
parser.c
@@ -2101,6 +2101,8 @@ static int areBlanks(xmlParserCtxtPtr ctxt, const xmlChar *str, int len) {
|
||||
return(0);
|
||||
if (CUR != '<') return(0);
|
||||
if (ctxt->node == NULL) return(0);
|
||||
if ((ctxt->node->childs == NULL) &&
|
||||
(CUR == '<') && (NXT(1) == '/')) return(0);
|
||||
|
||||
lastChild = xmlGetLastChild(ctxt->node);
|
||||
if (lastChild == NULL) {
|
||||
|
Reference in New Issue
Block a user