Can you place links in the showhide macro?

Hi @drewkime!
I use xwiki version 11.10.2, showhide macro 2.0. And got the same error.
For example, I put this text in Sandbox page:

{{showhide showmessage="test" hidemessage="test" effectduration="1"}}
[[link>>doc:]] to current page
{{/showhide}}
[[link>>doc:]] to current page

Link outside showhide macro rendered to https://ip:8443/xwiki/bin/view/Sandbox/# but link inside sandbox macro rendered as https://ip:8443/xwiki/bin/create/Sandbox/doc%3A/WebHome?parent=Sandbox.WebHome as non existing page.

The same link rendering bug in spoiler macro.

So I think it is sandbox and spoiler macro (ar maybe all?) rendering bug. It cant correct render link inside the macro.