Commit 402cbe5d authored by Facundo Batista's avatar Facundo Batista

Issue 1290. CharacterData.__repr__ was constructing a string

in response that keeped having a non-ascii character.
parent def39646
......@@ -956,7 +956,7 @@ class CharacterData(Childless, Node):
dotdotdot = "..."
else:
dotdotdot = ""
return "<DOM %s node \"%s%s\">" % (
return '<DOM %s node "%r%s">' % (
self.__class__.__name__, data[0:10], dotdotdot)
def substringData(self, offset, count):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment