From 388b7dee2a2d558c0ee576a9213b5ea422a56c77 Mon Sep 17 00:00:00 2001 From: Xavier Roche Date: Mon, 19 Mar 2012 13:04:25 +0000 Subject: httrack 3.45.1 --- src/htsparse.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/htsparse.c') diff --git a/src/htsparse.c b/src/htsparse.c index 1d83add..146f8e9 100644 --- a/src/htsparse.c +++ b/src/htsparse.c @@ -784,7 +784,7 @@ int htsparse(htsmoduleStruct* str, htsmoduleStructExtended* stre) { if (strnotempty(r->charset)) { HT_ADD("charset); - HT_ADD("\">"); + HT_ADD("\" />"); HT_ADD(eol); } } @@ -1663,7 +1663,9 @@ int htsparse(htsmoduleStruct* str, htsmoduleStructExtended* stre) { char *tag_attr_start = adr; // si nofollow ou un stop a été déclenché, réécrire tous les liens en externe - if ((nofollow) || (opt->state.stop)) + if ((nofollow) + || (opt->state.stop && /* force follow not to lose previous cache data */ !opt->is_update) + ) p_nocatch=1; // écrire codebase avant, flusher avant code -- cgit v1.2.3