##// END OF EJS Templates
py3: avoid iterating over a literal bytes in highlight...
Denis Laxalde -
r44014:856cce0c stable
parent child Browse files
Show More
@@ -57,7 +57,7 b' def pygmentize(field, fctx, style, tmpl,'
57 return
57 return
58
58
59 # str.splitlines() != unicode.splitlines() because "reasons"
59 # str.splitlines() != unicode.splitlines() because "reasons"
60 for c in b"\x0c\x1c\x1d\x1e":
60 for c in b"\x0c", b"\x1c", b"\x1d", b"\x1e":
61 if c in text:
61 if c in text:
62 text = text.replace(c, b'')
62 text = text.replace(c, b'')
63
63
General Comments 0
You need to be logged in to leave comments. Login now