diff options
author | Xavier Roche <xroche@users.noreply.github.com> | 2012-03-19 13:04:25 +0000 |
---|---|---|
committer | Xavier Roche <xroche@users.noreply.github.com> | 2012-03-19 13:04:25 +0000 |
commit | 388b7dee2a2d558c0ee576a9213b5ea422a56c77 (patch) | |
tree | 4c0f66930ae08593dd39134395b42bcec7a15d61 /src/htsparse.c | |
parent | 0183f4dd84d8cc44d617fb48436881e79e2bf0f2 (diff) |
httrack 3.45.1
Diffstat (limited to 'src/htsparse.c')
-rw-r--r-- | src/htsparse.c | 6 |
1 files changed, 4 insertions, 2 deletions
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("<!-- Added by HTTrack --><meta http-equiv=\"content-type\" content=\"text/html;charset="); HT_ADD(r->charset); - HT_ADD("\"><!-- /Added by HTTrack -->"); + HT_ADD("\" /><!-- /Added by HTTrack -->"); 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 |