Skip to content

Don't parse npubs in links #2252

@ekzyis

Description

@ekzyis

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

When a npub is included in a link and you click the npub, you go to the parsed link for nostr npubs, instead of to the link in which it is embedded.

Example: https://stacker.news/items/1016746?commentId=1017280

Screenshots

No response

Steps To Reproduce

  1. Add a link like https://npub1nsyte9neefm3jle7dg5gw6mhchxyk75a6f5dng70l4l3a2mx0nashqv2jk.nsite.lol/
  2. See that npub in link is parsed as separate link

Expected behavior

Npubs in links are not separate links themselves

Logs

No response

Device information

No response

Additional context

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions