Phil,

Sounds like we need a new encoding type, but in the meantime....

Bill,

You could make your own custom metatag to do the search and replace of <br> with <br/> in the meantime.

Usage would be.
<@HTML2XHTML CODE=<@Var Local$TheVarToOutput> encoding=None>

HTML2XHTML Method code.
return the following...
<@replace str=<@var Method$Code encoding=MultilineHTML> findstr="<br>" replacestr="<br />">


That's about all you would need... plust the entry in your customtags.xml file

This code is not tested in any way, and you should consult the docs to make sure the attribute names and values i used in the example are appropriate.

/John


Bill Conlon wrote:


I need to produce valid XHTML 1.0 Transitional -- meaning I need my HTML tags to close.

How do I get the app server to insert <br /> instead of <br>?

Bill Conlon

To the Point
345 California Avenue Suite 2
Palo Alto, CA 94306

office: 650.327.2175
fax:    650.329.8335
mobile: 650.906.9929
e-mail: mailto:[EMAIL PROTECTED]
web:    http://www.tothept.com


________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf





________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf

Reply via email to