2007-06-23 | paulb | raw files shortlog changelog graph | Fixed constant textual representations. | |
simplify/viewer.py (file) |
1.1 --- a/simplify/viewer.py Fri Jun 22 01:15:02 2007 +0200 1.2 +++ b/simplify/viewer.py Sat Jun 23 01:53:53 2007 +0200 1.3 @@ -822,7 +822,7 @@ 1.4 def visitConst(self, node): 1.5 if isinstance(node.value, (str, unicode)): 1.6 self.stream.write("<span class='str'>\n") 1.7 - self.stream.write(repr(node.value)) 1.8 + self.stream.write(self._text(repr(node.value))) 1.9 if isinstance(node.value, (str, unicode)): 1.10 self.stream.write("</span>\n") 1.11