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

Adding options to config.txt

From: Xavier Decoret <Xavier.Decoret@imag.fr>
Date: Fri, 24 Aug 2001 09:00:55 -0400
Message-ID: <3B865007.F467FF2F@imag.fr>
To: html-tidy@w3.org

First of all, congratulations for tidy!
It is the tool I 've been searching for a long time.

I am using Emacs to edit HTML and its HTML mode is poor.
Tidy is wonderful to indent/pretty print/check the code.
without using a WYSIWYG or Yet Another Specific Editor.

But I am facing a (rather stupid) proble.
To ensure that all files of my web site uses correct headers/footers
and to change them all at once, I use SSI with:
<!--exec cmd="Header.pl" -->
My web page body.
<!--exec cmd="Footer.pl" -->

When I tidy this file, it adds <html>m<body> and <head> tags.
<!--exec cmd="Header.pl" -->

     content="HTML Tidy, see www.w3.org">


    My web page body. <!--exec cmd="Footer.pl" -->

Which is off course annoying!

Could it be possiible to add an option to the config.txt file
so to switch off this behavior.

And would'nt it be nice to have SSI command starting a new line?

Apologize if these option already exist, I did'nt find them.
I am using tidy -v:
HTML Tidy release date: 4th August 2000

|              | INRIA Rhone-Alpes, 655 Av de l'Europe, 38330
|Doctorant     | France. Tel: +33 4 76 61 54 58 - Fax: +33 4 76 61 54
|Xavier.Decoret@imag.fr  |  http://www-imagis.imag.fr/~Xavier.Decoret  
Received on Friday, 24 August 2001 02:57:35 UTC

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