aeharding / aeharding/voyager

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

Aberta
#1,793 2 comentários 0 reações 0 responsáveis Ver no GitHub
bug
Linguagem predominante
TypeScript
Estrelas
1.8k
Forks
174
Merge médio
2h 32min
PRs com merge (30d)
28

Descrição

**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

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.