aeharding / aeharding/voyager

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

未關閉
#1,793 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
bug
主要語言
TypeScript
星號
1.8k
分支
174
平均合併
2 小時 32 分鐘
30 天內合併 PR
28

描述

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

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。