Details
Description
Steps to reproduce:
- Create a new page.
- Attach an image.
- Edit the page using the WYSIWYG editor.
- Type `/image` and press enter.
- Select the newly attached image and insert it.
- Switch to source view.
Current result: The inserted reference is absolute (e.g. `[[image:xwiki:Sandbox.WebHome@XWikiLogo.png]]`)
Expected result: The inserted reference is relative (e.g. `[[image:XWikiLogo.png]]`)