only replace note ID when note ID starts with @ character #441

Merged
SamSamskies merged 5 commits from fix-posting-notes-with-note1-nip19-links into main 2023-03-16 01:02:54 +00:00

5 Commits

Author SHA1 Message Date
Sam Samskies
3103a0c433
require notes to be prefixed with @ 2023-03-15 13:39:47 -05:00
Sam Samskies
87118abf0e
allow users to prefix note ID with an @ 2023-03-15 09:31:21 -05:00
Sam Samskies
a5745e5552
improve var name 2023-03-14 16:24:04 -05:00
Sam Samskies
a369e2daea
make sure to keep whitespace around note ID 2023-03-14 16:20:39 -05:00
Sam Samskies
e4e5913c40
only replace note ID when note ID is surrounded by space chars
This prevents partial parts of links with note IDs from being converted to a tag.
2023-03-14 15:38:14 -05:00