Xpage generating deprecated HTML in HTML5 mode

I have an Xpages view and my HTML Generation set to HTML5. However, my view shows deprecated HTML:

How do I stop this, and other controls generating obsolete HTML (in this case it is cellspacing and cellpadding)?

Thanks