XWIKI-8710: Space export as html seems to be got broken
Revert XWIKI-8168 and properly fix it