mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-12-19 00:09:21 +11:00
Fixed display of tabs in normal/wordwrap mode
This commit is contained in:
parent
c61f134bb3
commit
75f58993b1
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue