##// END OF EJS Templates
run-tests: pass unicode to Pygments...
Yuya Nishihara -
r33932:7cab9567 default
parent child Browse files
Show More
@@ -615,7 +615,8 b' def highlightdiff(line, color):'
615 if not color:
615 if not color:
616 return line
616 return line
617 assert pygmentspresent
617 assert pygmentspresent
618 return pygments.highlight(line, difflexer, terminal256formatter)
618 return pygments.highlight(line.decode('latin1'), difflexer,
619 terminal256formatter).encode('latin1')
619
620
620 def highlightmsg(msg, color):
621 def highlightmsg(msg, color):
621 if not color:
622 if not color:
General Comments 0
You need to be logged in to leave comments. Login now