diff options
-rw-r--r-- | pygments/formatters/other.py | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/pygments/formatters/other.py b/pygments/formatters/other.py index 4353c2b2..9422dd23 100644 --- a/pygments/formatters/other.py +++ b/pygments/formatters/other.py @@ -77,13 +77,5 @@ class RawTokenFormatter(Formatter): lasttype = None lastval = u'' for ttype, value in tokensource: - value = repr(value) - if ttype is lasttype: - lastval += value - else: - if lasttype: - write("%s\t%s\n" % (lasttype, lastval)) - lastval = value - lasttype = ttype - write("%s\t%s\n" % (lasttype, lastval)) + write("%s\t%r\n" % (ttype, value)) flush() |