How anchors are created

Options
Bruce_McCaughan
Bruce_McCaughan Member Posts: 132 Learner
edited August 2023 in Ask a Question

Has the system changed how it handles "anchors"??
Recently, we assign a textual name to an anchor, say, "inquiry", but the system assigns it as "#1250806859".

I am not overly bothered by this. Should I be?
But I wonder why this change. Are there technical reasons? Is it somehow better?

Inquiring minds want to know 😋

Thanks

Tagged:

Answers

  • ScottyStrehlow
    ScottyStrehlow Member Posts: 354 Duda Staff
    Options

    Hi @Bruce_McCaughan - that's unusual and seems like an error.

    Do you have this anchor repeated? There cannot be two anchors with the same name, so that might be changing the naming by default.

  • Bruce_McCaughan
    Bruce_McCaughan Member Posts: 132 Learner
    Options

    "There cannot be two anchors with the same name"
    This makes sense on any given page, but is this limitation site wide?

    Meaning, can the anchor "inquiry" exist multiple times if they are on different pages?

    I can confirm that:
    a) it DOES exist on other page(s)
    b) the 2nd one may (or may not) have been created upon duplicating the original page.

    Thanks for the reply Scotty. Would be grateful if someone from dev could confirm the follow up question above.
    Cheers,
    Bruce