In XWiki Syntax Guide:
It is suggested to use rel="_blank" to create a link that is open in a new window.
But in HTML5, it's the exact opposite! target="_blank" is valid and rel="_blank" is not!
Since I think a lot of users used the "rel" attribute as suggested, I first proposed to add a "hack" in XWIKI-RENDERING (
XRENDERING-424) to replace rel="_blank" by target="_blank" when HTML5 is used. But it is not clean, and very specific to XE. So it will probably be reverted.
In last resort, all we can do is to modify XWikiSyntaxGuide to not suggest to use rel="_blank" but target="_blank".
It means that the generated code won't be valid with old skins using XHTML 1.0, and also that existing links (with rel="_blank" as suggested) won't be valid with Flamingo.
Not being strictly valid is not a big issue since it won't make the wiki crash or the browser.
It also means that we do not fully support other syntax than HTML5.
Fixing this issue would enable us to fix xwiki-enterprise-test-webstandards.