XWIKI-8592: XSS in the user profile.

* Fix.
Merge pull request #176 from gdelhumeau/XWIKI-9497

XWIKI-8592: XSS in the user profile
* Fix regression introduced by previous commit