Fixed display of tabs in normal/wordwrap mode

This commit is contained in:
Martin Mahner 2014-01-24 13:20:57 +00:00
parent c61f134bb3
commit 75f58993b1

View file

@ -11,4 +11,5 @@ def in_list(value, arg):
def highlight(snippet):
h = pygmentize(snippet.content, snippet.lexer)
h = h.replace(u' ', u'  ')
h = h.replace(u'\t', '    ')
return h.splitlines()