diff --git a/dpaste/templatetags/dpaste_tags.py b/dpaste/templatetags/dpaste_tags.py index c6b59e4..88572c9 100644 --- a/dpaste/templatetags/dpaste_tags.py +++ b/dpaste/templatetags/dpaste_tags.py @@ -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()