##// 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:

r1474:1e47f6fc default
r6987:d09e813b default
Show More
test-hgrc.out
4 lines | 114 B | text/plain | TextLexer
abort: Failed to parse .../t/.hg/hgrc
File contains no section headers.
file: .../t/.hg/hgrc, line: 1
'invalid\n'