When Scroll Versions is enabled, tabs anchors are changed to include the path

Description

Steps to reproduce:

  1. Create a page with a viewport tabs container macro

  2. Add a few tab macros to the container

  3. Enable viewport and versions for that space

  4. Click on a tab in the viewport

Expected result:
Change the tab

Actual result:
URL gets changed to the anchor and tab is not changed

Workaround:
Before the closing body tag, add the following code:

This rewrites the anchors to not include the entire path.

Environment

None

Assignee

Unassigned

Reporter

Sync User [K15t]

Labels

Participants

None

Deployment

None

Time tracking

6h

Components

Sprint

None

Fix versions

Configure