Skip to content

BUG: webclipper should ignore URL fragment identifiers (anchors) and parameters #652

@clehene

Description

@clehene

Version (please complete the following information):

  • OS: Mac
  • Browser Chrome
  • Web Clipper version: 0.12
  • Obsidian version: 1.10.6

Describe the bug

Higlighting depends on the full URL. For example if I highlight when I'm on https://en.wikipedia.org/wiki/Obsidian_(software)#Web_Clipper, the hihglight won't show up when on https://en.wikipedia.org/wiki/Obsidian_(software)

Expected behavior

highlighting should only consider the URL without framgent identifiers (#) or parameters (?)

URLs where the bug occurs

https://en.wikipedia.org/wiki/Obsidian_(software)

To reproduce

Steps to reproduce the behavior:

  1. Go to https://en.wikipedia.org/wiki/Obsidian_(software)
  2. Highlght anything
  3. Click on an anchor in the contents menu
  4. Refresh page
  5. The highlight doesn't show up

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions