That's probably the best way for now, but we should fix that. Would the tags validate if written as <col />? That would be a much easier fix.
Anthony On Sunday, January 26, 2014 10:17:22 AM UTC-5, Thomas Wimmer wrote: > > I try to keep my site html5 valid with the w3c markup checker: > http://validator.w3.org/ > > as web2py generates "</col>" tags, the validator brings up: > "Stray end tag col." errors > > Is there a better way than: > > grid = SQLFORM.grid(...) > grid = XML(str(XML(grid)).replace("</col>","")) > > > thanks in advance! > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

