diff --git a/recipes/Python/84516_Using_SAX2_LexicalHandler/recipe-84516.py b/recipes/Python/84516_Using_SAX2_LexicalHandler/recipe-84516.py index 9858435d3..ccc110321 100644 --- a/recipes/Python/84516_Using_SAX2_LexicalHandler/recipe-84516.py +++ b/recipes/Python/84516_Using_SAX2_LexicalHandler/recipe-84516.py @@ -44,6 +44,7 @@ def endEntity(self, name): self._in_entity = 0 def startCDATA(self): + self._finish_pending_start_element() self._out.write('