Hmmm no. Its no ok. The response is repeating TR tag for each
element... and is using a TD tag too

I believe this is the correct code
>>> THEAD(TR(TH("a"), TH("b"))).xml()
'<thead><tr><th>a</th><th>b</th></tr></thead>'


On 9 ago, 19:03, mdipierro <mdipie...@cs.depaul.edu> wrote:
> It is a bug. Fixed in trunk:
>
> >>> THEAD('a','b').xml()
>
> '<thead><tr><td>a</td></tr><tr><td>b</td></tr></thead>'
>
> On Aug 9, 2:52 pm, Skiros <hansen.marc...@gmail.com> wrote:
>
> > Sorry
> > i expected "<thead><tr><th>a</th><th>b</th></tr></thead>"
>
> > On 9 ago, 16:19, Skiros <hansen.marc...@gmail.com> wrote:
>
> > > Hello !
>
> > > I have a doubt using THEAD helper. THEAD("a", "b") gives me as result
> > > "<thead>ab</thead>".
> > > I expected "<thead><th>a</th><th>b</th></thead>".
>
> > > Why is not the same operation like TR("a", "b")  = "<tr><td>a</
> > > td><td>b</td></tr>" ?

Reply via email to