Re: Validating documents from HTML::Template

Michael Peters <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.html-template
Message-ID <[email protected]>

Dan Axtell wrote:
> Hi,
> 
> I have a report that aims to be and XHTML 1.0 compliant document.  In my 
> template I use <br /> for my linebreaks; but after I fill in various template 
> tags via HTML::Template, they all become <br>, which fails to pass the 
> validator at w3c.org.    Am I missing something obvious here, or is 
> HTML::Template not a good idea for producing XHTML 1.0 compliant documents?

H::T won't change anything about your template that isn't a <tmpl_*> tag. So
something else is changing your <br />. What other tools are you passing your
output through?

-- 
Michael Peters
Developer
Plus Three, LP



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.