I recently discovered the value of tidy for my html adventures. Nice
little app. Only one thing is becoming a bit of a drag.
If I use tidy to clean up my code, it inserts the following in every
<style> segment:
e.g. before:
<style>
p {
color : blue;
}
</style>
after: (tidy -im myfile.html)
<style>
/*<![CDATA[*/
p {
color : blue;
}
/*]]>*/
</style>
I'm assuming (correctly?) these are supposed to be html comment markers
to hide the style from style-unaware browsers ?
Is it possible (how) to have tidy insert the proper <!-- and -->
instead? And without the /* and */, or should they be there ??? And
should the html comment markers not sit outside the <style> element?
I'm confused right now...
Sorry for asking a question with a probably obvious answer.
KR
Sh.