Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop >> mail # dev >> Hamlet not generating closing tags for some tags

Copy link to this message
Re: Hamlet not generating closing tags for some tags

See http://www.w3.org/TR/html4/struct/tables.html#h-11.2.6 and http://www.w3.org/TR/html4/struct/tables.html#h-11.2.5 - the end tag is optional for TR and TD. It seems like we chose to not add the end-tags.

Will close that ticket.


On Sep 12, 2012, at 9:22 AM, Senthil Kumar wrote:

> Hi,
> I came across the JIRA
> MAPREDUCE-2993<https://issues.apache.org/jira/browse/MAPREDUCE-2993>,
> which
> describes this bug. I was able to fix this issue. But there is a test in
> TestHamlet.java which explicitly tests that, hamlet should not generate the
> closing tags for td and tr. Is there any reason why generation of closing
> tag is disabled for these tags. The page seems to be working fine even
> after the fix.
> Regards
> Senthil