From bf980a53d8fcae618355a47a81f74e8d8058aa49 Mon Sep 17 00:00:00 2001
From: Martin Stjernholm <mast@lysator.liu.se>
Date: Mon, 3 Apr 2000 15:50:45 +0200
Subject: [PATCH] Fixed bug where the ignore_tags flag got lost in clones.

Rev: src/modules/Parser/html.c:1.86
---
 src/modules/Parser/html.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/Parser/html.c b/src/modules/Parser/html.c
index 5f126e9f07..aff807bf89 100644
--- a/src/modules/Parser/html.c
+++ b/src/modules/Parser/html.c
@@ -980,7 +980,6 @@ static void html_add_quote_tag(INT32 args)
     push_mapping(THIS->mapqtag);
     THIS->mapqtag=copy_mapping(THIS->mapqtag);
     pop_stack();
-    DEBUG((stderr,"COPY\n"));
   }
 
   if (!remove) {
@@ -4585,6 +4584,7 @@ static void html_clone(INT32 args)
       p->extra_args=NULL;
 
    p->flags=THIS->flags;
+   p->stack->parse_tags = THIS->flags & FLAG_PARSE_TAGS;
 
    p->tag_start=THIS->tag_start;
    p->tag_end=THIS->tag_end;
-- 
GitLab