[PATCH] highlight: Only pygmentize for HTML mimetypes
Dirkjan Ochtman
dirkjan at ochtman.nl
Fri Sep 5 03:44:49 CDT 2008
Rocco Rutte <pdmef <at> gmx.net> writes:
> 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).
Pushed to crew:
changeset: 6987:d09e813b21e3
tag: tip
user: Rocco Rutte <pdmef at gmx.net>
date: Fri Sep 05 10:39:57 2008 +0200
summary: highlight: only pygmentize for HTML mimetypes
Thanks!
Dirkjan
More information about the Mercurial-devel
mailing list