W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2006

tidy shouldn't parse a php file text/css

From: Enzo <jdespatis@yahoo.fr>
Date: Tue, 11 Jul 2006 09:19:39 +0000 (GMT)
Message-ID: <20060711091939.73503.qmail@web26502.mail.ukl.yahoo.com>
To: html-tidy@w3.org

I've installed Tidy, i have in my apache config:
AddOutputFilterByType   TIDY    text/html

So it should process only text/html files, however i have a simple php script that does this:
  header("Content-Type: text/css");

  echo "some css...";

And this file is also processed by tidy, but it shouldn't

Any idea how i can fix that ?
Every trick is welcome (force type on certain files, force tidy not to execute on certain files, etc...)

I've tried many things, i don't find... 
Maybe someone of you has a work around

Received on Tuesday, 11 July 2006 09:26:24 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:56 UTC