XWIKI-10601: Wysiwyg rendering executed in a PR environment
* Improved fix (by cloning the doc in the xwiki context to prevent leakage in the doc cache for example, thanks Thomas)