XWIKI-11118: HTML macro removes the <legend> tag.