##// END OF EJS Templates
highlight: only pygmentize for HTML mimetypes...
highlight: only pygmentize for HTML mimetypes For non-html mimetypes it doesn't make much sense. This also fixes the issue that highlight unconditionally adds a <link/> tag for its CSS to the template's header (which is pointless in text/plain output).

File last commit:

r2042:a514c750 default
r6987:d09e813b default
Show More
test-revert-unknown.out
9 lines | 134 B | text/plain | TextLexer
/ tests / test-revert-unknown.out
%% Should show unknown
? unknown
removing b
%% Should show unknown and b removed
R b
? unknown
%% Should show a and unknown
a
unknown