Skip to content

Link with full URL to the same document should behave like a link with just the anchor #5495

@provokateurin

Description

@provokateurin

Describe the bug
A link that has the full URL including the anchor should behave link the same link with just the anchor if the link points to the same page.

To Reproduce
Steps to reproduce the behavior:

  1. Create a document with a heading
  2. Copy the full link to the heading and paste it into the document
  3. Click on the link

Expected behavior
The link bubble should not open and the browser should jump to the heading.

Server details:

  • Nextcloud version: c.nc.c

Client details:

  • OS: Arch Linux
  • Browser: Firefox
  • Browser version: 123.0.1
  • Device: Desktop

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

☑️ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions