diff --git a/Modules/Parser/Sources/SAX/HTMLEntityDecoder.swift b/Modules/Parser/Sources/SAX/HTMLEntityDecoder.swift
index 2c629565f..15fd31e29 100644
--- a/Modules/Parser/Sources/SAX/HTMLEntityDecoder.swift
+++ b/Modules/Parser/Sources/SAX/HTMLEntityDecoder.swift
@@ -121,7 +121,7 @@ final class EntityScanner {
scanLocation = initialScanLocation + 1
return nil
}
- scanLocation = initialScanLocation + 1
+ scanLocation = scanLocation + 1
return decodedEntity
}