We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ff35ba commit d06a2f9Copy full SHA for d06a2f9
Lib/html/parser.py
@@ -243,7 +243,7 @@ def goahead(self, end):
243
assert 0, "interesting.search() lied"
244
# end while
245
if end and i < n and not self.cdata_elem:
246
- if self.convert_charrefs and not self.cdata_elem:
+ if self.convert_charrefs:
247
self.handle_data(unescape(rawdata[i:n]))
248
else:
249
self.handle_data(rawdata[i:n])
0 commit comments