From 09a514a6f5fba1a6d849ad3c9d19a5e2eecd4bfe Mon Sep 17 00:00:00 2001
From: "Mirar (Pontus Hagland)" <pike@sort.mirar.org>
Date: Sat, 12 Jun 1999 21:29:16 +0200
Subject: [PATCH] bugfix

Rev: src/modules/Parser/html.c:1.19
---
 src/modules/Parser/html.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/modules/Parser/html.c b/src/modules/Parser/html.c
index 131d9b6431..73534dee4a 100644
--- a/src/modules/Parser/html.c
+++ b/src/modules/Parser/html.c
@@ -595,12 +595,15 @@ static INLINE void recheck_scan(struct parser_html_storage *this,
 				int *scan_entity,
 				int *scan_tag)
 {
-   if (this->callback__tag.type!=T_INT) 
+   if (this->callback__tag.type!=T_INT ||
+       this->maptag->size ||
+       this->mapcont->size) 
       *scan_tag=1;
    else 
       *scan_tag=0;
 
-   if (this->callback__entity.type!=T_INT) 
+   if (this->callback__entity.type!=T_INT ||
+       this->mapentity->size) 
       *scan_entity=1;
    else 
       *scan_entity=0;
-- 
GitLab