Show More
@@ -72,7 +72,7 b' def pygmentize(self, tmpl, fctx, field):' | |||
|
72 | 72 | colorized = highlight(text, lexer, formatter) |
|
73 | 73 | # strip wrapping div |
|
74 | 74 | colorized = colorized[:colorized.find('\n</pre>')] |
|
75 |
colorized = colorized[colorized.find('< |
|
|
75 | colorized = colorized[colorized.find('<pre>')+5:] | |
|
76 | 76 | coloriter = iter(colorized.splitlines()) |
|
77 | 77 | |
|
78 | 78 | filters['colorize'] = lambda x: coloriter.next() |
General Comments 0
You need to be logged in to leave comments.
Login now