Follow this steps to reproduce:
- edit a new page in wiki mode and set the content to:
- switch to wysiwyg mode
- collapse the macro by clicking twice on it or by using the macro menu
- click outside the editor
- expand the macro
The link had been removed. The content is not affected if the page is saved. The problem is just that the link is not there anymore after the macro is expanded.