Page 1 of 1

Time to change "HTML Tags" clip to be XHTML compli

Posted: Wed Apr 20, 2005 3:44 pm
by seaktf
In the advent of XHTML, maybe it's time to change the "HTML Tags" clip to follow the tendance.

It's actually not really hard to do so, just a few changes and some precautions:

* all tag names are in small letters, and attribute names as well.

* elements without closing tag have to use "/" before ">". For example, use <br /> instead of <br>. But of course, Textpad isn't supposed to check if user doesn't do so. But those generated from the clip could be made compliant.

* all attribute values have to be delimited in quotes or double quotes, even for numeric values. So for example in Table clip, border=0 has to correct to border="0".

I think that's it, but if I forgot anything, please tell so.

Posted: Wed Apr 20, 2005 9:44 pm
by MudGuard
nobody stops you from editing your clip library ...

And nobody stops you from sending the result to Textpad so they can put it on the Add-On page.