applied patch from Arne de Bruijn fixing bug #103827 Daniel

* HTMLparser.c: applied patch from Arne de Bruijn fixing
  bug #103827
Daniel
diff --git a/HTMLparser.c b/HTMLparser.c
index 97212b4..e0f7620 100644
--- a/HTMLparser.c
+++ b/HTMLparser.c
@@ -2457,6 +2457,11 @@
 	}
 	NEXTL(l);
 	cur = CUR_CHAR(l);
+	if (cur == 0) {
+	    SHRINK;
+	    GROW;
+	    cur = CUR_CHAR(l);
+	}
     }
     if (nbchar != 0) {
 	/*