aeharding / aeharding/voyager

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

Abierto
#1,793 2 comentarios 0 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
TypeScript
Estrellas
1.8k
Forks
174
Merge medio
2 h 32 min
PR fusionados (30 d)
28

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.