On Sat, Jul 25, 2009 at 7:16 PM, Garrett Smith <g@rre.tt> wrote:
In an appmod, the function:

out(A) ->
    {html, [],
     [{form, [],
       [{input, [{type,text}]}]}

is producing the following HTML:

<form><input type="text"></input></form></html>

I didn't check to see if this is the case in a yaws file.

Garrett and I had an offline conversation about this because at first I didn't see the issue, but he reminded me that in HTML the input tag officially has no closing tag (sad but true). I don't think it's really a problem in practice, given the huge amount of bad HTML out there that browsers have to compensate for, but we should probably fix this to make Yaws correct in this regard. I'll go ahead and fix it unless someone knows of a good reason not to change it?