Mercurial > hg
view tests/test-execute-bit.out @ 6987:d09e813b21e3
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).
author | Rocco Rutte <pdmef@gmx.net> |
---|---|
date | Fri, 05 Sep 2008 10:39:57 +0200 |
parents | 23ffe82615d8 |
children | 865c5be0f8df |
line wrap: on
line source
adding a 79abf14474dc tip % make sure we notice the change of mode if the cached size == -1 n 0 -1 unset a M a 0 files updated, 0 files merged, 0 files removed, 0 files unresolved d69afc33ff8a not executable -- whew