From e3f82db0062aefe1b9cd7f80fae93b9f0334f741 Mon Sep 17 00:00:00 2001 From: Martin Mahner Date: Thu, 13 Mar 2014 15:39:53 +0100 Subject: [PATCH] Fixed indentation that stole 1 whitespace. 4 spaces became 3. --- dpaste/templatetags/dpaste_tags.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dpaste/templatetags/dpaste_tags.py b/dpaste/templatetags/dpaste_tags.py index 88572c9..5b6e8d1 100644 --- a/dpaste/templatetags/dpaste_tags.py +++ b/dpaste/templatetags/dpaste_tags.py @@ -10,6 +10,6 @@ def in_list(value, arg): @register.filter def highlight(snippet): h = pygmentize(snippet.content, snippet.lexer) - h = h.replace(u' ', u'  ') - h = h.replace(u'\t', '    ') + h = h.replace(u' ', u'  ') + h = h.replace(u'\t', '    ') return h.splitlines()