fix(StatusChatInput): paste mentions without changing msg content

Closes: #7109
This commit is contained in:
Michał Cieślak 2022-10-12 10:12:54 +02:00 committed by Iuri Matias
parent 891a99a0cc
commit 62b0269fff
1 changed files with 1 additions and 1 deletions

View File

@ -603,7 +603,7 @@ Rectangle {
if (d.internalPaste) {
if (d.copiedTextPlain.includes("@")) {
d.copiedTextFormatted = d.copiedTextFormatted.replace(/underline/g, "none").replace(/span style="/g, "span style=\" text-decoration:none;")
d.copiedTextFormatted = d.copiedTextFormatted.replace(/span style="/g, "span style=\" text-decoration:none;")
let lastFoundIndex = -1
for (let j = 0; j < d.copiedMentionsPos.length; j++) {