There is
1 comment
.
XWiki Platform
/
XWIKI-24993
Open
The anchor of a link to another page is dropped from the URL unless a query string is also set
View issue
ยท
Add comment
1 comment
Thomas Mortagne
on 15/Sep/26 18:01
Links with an anchor and no query string are very common (xwiki.org if full of those) and I don't remember ever having this problem.
I tried on 17.10.9, and I still cannot reproduce what is described:
{noformat}
[[Main.WebHome||anchor="toto"]]
{{velocity}}
$xwiki.getURL('Main.WebHome', 'view', '', 'HTest')
{{/velocity}}
{noformat}
produces the following HTML
{noformat}
<p><span class="wikilink"><a href="/xwiki/bin/view/Main/#toto"><span class="wikigeneratedlinkcontent">Main</span></a></span></p><p>/xwiki/bin/view/Main/#HTest</p>
{noformat}
The problem might be more what you used to test. AFAIR XWikiSyntax has a pretty special way
to
of
treating page content.
This message was sent by Atlassian Jira (v9.3.0#930000
-sha1:287aeb6
)
If image attachments aren't displayed, see
this article
.