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:
- Create a document with a heading
- Copy the full link to the heading and paste it into the document
- 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