Tidy configuration

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I use Ttidy to check my Html/Xhtml, but I have one annoying problem.

I can't figure out how to configure it to leave my munged email address
alone. eg

<a href="mailto:&#99;&#104;&#114;&#105;&#115;&#64;&#99;&#45;&#104; /

would be coverted to the ascii character string by Tidy.

What do I put in the tidy config file to make it leave that stuff alone?

My Tidy config file is as follows.
// HTML tidy config file
// Chris Harris
// 24 June 2003

// HTML XHTML options
clean: yes
doctype: strict
drop-font-tags: yes
drop-proprietary-attributes: yes
enclose-text: yes
numeric-entities: yes
output-xhtml: yes
quote-ampersand: yes
quote-marks: yes
quote-nbsp: yes

// character encoding options
ascii-chars: no
char-encoding: utf8

// pretty print options
indent: yes
indent-attributes: no
indent-spaces: 2

// misc
tidy-mark: no

Re: Tidy configuration

When Chris Harris was making a web page, a :-? appears and wrote:
Quoted text here. Click to load it

Use a form mail with a server side process. This can be done by e.g. php,
if your hosting support php.
Otherwise visit the FAQ of your hosting. To prevent that the SE will spider
the form by using robot.txt
Edwin van der Vaart (Geen familie van....)
http://www.semi-conductors.nl/ Links to Semiconductors sites
                               (will expire at 01 Sept '03)
http://www.semi-conductor.nl/ (under construction)
http://members.chello.nl/e.vandervaart/ Experimental site
http://host.deluxnetwork.com/~evdvaart/ Test site

Re: Tidy configuration

Quoted text here. Click to load it

Hm, if Tidy can un-munge your email adress that easily do you
really think it does much good?

Perhaps you can coerce it to ignore mailt: tags? Been awhile
since I used it.

Rob - http://rock13.com /
Web Stuff: http://rock13.com/webhelp /

Re: Tidy configuration

Quoted text here. Click to load it

Character references are surprisingly effective according to this study:

Note that this email address harvester optionally uses IE, in that mode
it translates character references flawlessly:
http://www.mailutilities.com/aee /


Site Timeline