aeharding / aeharding/voyager

Adding "CW: " on post titles breaks the copy functionality after switching accounts

Aperta
#1,793 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
TypeScript
Stelle
1.8k
Fork
174
Merge medio
2h 32m
PR unite (30g)
28

Descrizione

**Describe the bug**
Whenever I try to copy a post title that has "CW: " it copies normally but pastes the incorrect string after I switch accounts

Example if I copy:

CW: The $1 Trillion Private Health Insurance Scam

It pastes as:

![image](https://github.com/user-attachments/assets/1709fc56-0e1b-409c-a2a8-3258d112e834)

**To Reproduce**
Steps to reproduce the behavior:

1. Copy the title of a post with "CW: ..."
2. Switch accounts
3. Try pasting that title on a comment or a new post title or body
4. See the error

Additional info:

It somehow converts the post title into a link, and that is why it pastes like that in the switched account

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.