Joe Chen wrote:
>
> Hi,
> I've noticed some quirks about the html generated by T5, and I was
> wondering how I could go about changes these things. I would appreciate
> it
> if someone could point out how to fix these things.
>
> 1) When using <t:body/>, an additional attribute xmlns="
> http://www.w3.org/1999/xhtml" is added to the parent of the <t:body/>.
> For
> example:
>
> <div id="foo">
> <t:body/>
> </div>
>
> generates the following html:
>
> <div id="foo" xmlns="http://www.w3.org/1999/xhtml">
> ...
> </div>
>
> I would like to prevent the xmlns from being appended to the parent
> element.
>
> 2) When using <br/> , an addition attribute clear="none" is added. So:
>
> <br/>
>
> becomes
>
> <br clear="none">
>
> 3) Probably the most annoying one, when using , shape="rect" is
> appended. So:
>
>
>
> becomes
>
>
>
>
> When I attempt to enable xhtml output as outlined in this wiki posting:
> http://wiki.apache.org/tapestry/Tapestry5HowToXhtml
>
> the rendered page has a bunch of glitches due to these extra parameters
> (especially the shape="rect").
>
>
> Any way to fix these issues?
>
> Thanks,
> Joe
>
>
Same to me. I have the same problem with the ActionLink's: tapestry generate
shape="rect" property :(
--
View this message in context:
http://www.nabble.com/Questions-about-T5-html-markup-generated-tp17219447p19668099.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]