-

@ Silberengel
2025-05-11 11:45:31
nostr:npub12vkcxr0luzwp8e673v29eqjhrr7p9vqq8asav85swaepclllj09sylpugg, you appear to be accidentally swapping out entire URLs that contain npub addresses, rather than only when they're listed alone or with the nostr: prefix. It's probably an error in your regex, but this makes it hard for your users to find out about other apps by following hyperlinks they see in their Primal feed. Also, I often do this to share some particular information displayed on the other app, and if you swap out the links, then the readers can't see what I intended.
Here, two examples from Jumble and Lumina.
https://primal.net/e/nevent1qvzqqqqqqypzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqqsyqnj79symsak0gmlllpe0rfl6c3cu65u6fuq59zg2wty05gtpwts2lk9d8
https://primal.net/e/nevent1qvzqqqqqqypzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqydhwumn8ghj7argv4nx7un9wd6zumn0wd68yvfwvdhk6tcprdmhxue69uhhg6r9vehhyetnwshxummnw3erztnrdakj7qpqdcysz0ekxta0vve7dclen9pvtn67z78s9u87qsghx5c5s3akwx7qg3mynk