If I use <a href="&base_url&/path#anchor"> the parsed link is http://path#anchor.

Comments

Roi Danton’s picture

Title: Link token doesn't work if using anchor inside link » Link token doesn't work if using leading slash for path after &token&
Component: Code » Documentation
Category: bug » task

The problem above had another reason:
If i write <a href="&base_url&/path#anchor"> the link don't work, instead it must be <a href="&base_url&path#anchor"> (without the slash).

This should be mentioned in using-advanced-help.html.

fgm’s picture

The way I see it, the existing wording and examples in using-advanced-help.html make it clear that no slash should be used, ditto:

Use <a href="&base_url&admin/settings/site-configuration"> to reference any normal path in the site.

It doesn't say:

Use <a href="&base_url&/admin/settings/site-configuration"> to reference any normal path in the site.

Do you have an even clearer wording suggestion that wouldn't add extra doubt to readers ?

fgm’s picture

Status: Active » Postponed (maintainer needs more info)
fgm’s picture

Status: Postponed (maintainer needs more info) » Fixed

No user answer in over 5 months, assuming fixed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.