damus icon indicating copy to clipboard operation
damus copied to clipboard

[Improvement] Pasting copied UserID / NoteID after "&" always inserts a space

Open kdmukai opened this issue 2 years ago • 2 comments

On Mac, not sure about on iOS:

  • Copy a UserID or NoteID.
  • In a new post, reference the id with "&" and then paste in what you copied.
  • A space char is always introduced between the "&" and the ID.
  • A failed/not linked reference results if you're not careful.

The context menu's Copy UserID and Copy NoteID work fine; no leading space added. It's only when pasting in front of an ampersand.

kdmukai avatar Dec 22 '22 22:12 kdmukai

weird, but you should be doing @note to reference a post. I'll try to fix the rendering of this so it's not so confusing. we shouldn't be showing hex anywhere

jb55 avatar Dec 22 '22 22:12 jb55

Just tested: Space char is only added after "&". Starting with "@" behaves as expected.

So I learned about the "&" references two days ago. Is that old info now?

kdmukai avatar Dec 22 '22 22:12 kdmukai

I believe this is no longer relevant

jb55 avatar May 06 '24 21:05 jb55