mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-15 16:12:51 +11:00
Fixed indentation that stole 1 whitespace. 4 spaces became 3.
This commit is contained in:
parent
6cf181953f
commit
e3f82db006
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue