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

r6138:09847b90 default
r6987:d09e813b default
Show More
test-issue352.out
14 lines | 316 B | text/plain | TextLexer
adding he llo
abort: '\n' and '\r' disallowed in filenames: 'he\rllo'
adding he llo
abort: '\n' and '\r' disallowed in filenames: 'he\rllo'
adding hell
o
abort: '\n' and '\r' disallowed in filenames: 'hell\no'
adding hell
o
abort: '\n' and '\r' disallowed in filenames: 'hell\no'
f he llo he llo
f hell
o hell
o