Mercurial > hg
view tests/test-non-interactive-wsgi.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 | c301f15c965a |
children | 510122bb3c7f |
line wrap: on
line source
changeset: 0:61c9426e69fe tag: tip user: test date: Thu Jan 01 00:00:00 1970 +0000 summary: test ---- HEADERS 200 Script output follows ---- DATA [('Content-Type', 'text/html; charset=ascii')] ---- ERRORS