Tidy configuration

C

Chris Harris

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:chris@c-h /
arris.net">

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
 
P

picayunish

When said:
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:chris@c-h /
arris.net">

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
 
R

Rob McAninch

Chris Harris said:
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

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top