diff options
Diffstat (limited to 'Lib/html')
-rw-r--r-- | Lib/html/parser.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/html/parser.py b/Lib/html/parser.py index 485f6fa..18f3115 100644 --- a/Lib/html/parser.py +++ b/Lib/html/parser.py @@ -251,6 +251,7 @@ class HTMLParser(_markupbase.ParserBase): if self.strict: self.error("EOF in middle of entity or char ref") else: + k = match.end() if k <= i: k = n i = self.updatepos(i, i + 1) |