From 572208e1af8e6bb67e6072c61ec39de69ce81293 Mon Sep 17 00:00:00 2001 From: Peter Venable Date: Mon, 13 Aug 2018 09:17:08 -0700 Subject: [PATCH] Update recipe-84516.py Fixes a bug which would render `` as ` />` --- recipes/Python/84516_Using_SAX2_LexicalHandler/recipe-84516.py | 1 + 1 file changed, 1 insertion(+) 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('