Closing as solved by as this has been solved by supporting HTML 5 in the HTML macro in XWiki for quite some time now.