On Tuesday 17 January 2006 6:02 pm, Kevin Dangoor wrote:
> It's not optimum looking HTML output. At least, I'm assuming he's
> complaining about the final HTML output, which doesn't need an end
> tag. If he's talking about the template itself, then I agree with
> you... just add a / at the end in normal XML empty tag style.
David Stanek hit upon the problem - <INPUT> is output when using the HTML
renderer, but when using XHTML the output is <input></input>, -not-
<input />. It seems to fail to realize that there is no content and it can
optimize it. The end result, for <textarea></textarea> blocks is that the
closing tag is never on the same line as the starting tag, thus inserting
whitespace into my fields.
My custom forms don't have this problem, while the Widget ones do.
Yeah I just tried it. It comes out as <input /> for xml, but not xhtml. It'll get fixed soon.
-- David

