summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/htsencoding.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/htsencoding.c b/src/htsencoding.c
index 0fa21fc..abdc673 100644
--- a/src/htsencoding.c
+++ b/src/htsencoding.c
@@ -132,9 +132,9 @@ int hts_unescapeEntitiesWithCharset(const char *src, char *dest, const size_t ma
if (len > 0) {
/* new dest position */
j = ampStartDest + len;
+ /* do not copy ; */
+ continue;
}
- /* do not copy ; */
- continue;
}
}
/* numerical entity */