fix: paste the clipboard as is for {{CLIPBOARD}}, keeping dollar signs (#31364)

This commit is contained in:
G30 2026-09-25 23:28:02 -04:00 • committed by GitHub
parent ffe21bef8d
commit b233d0d94b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -126,7 +126,7 @@
}
}
text = text.replaceAll('{{CLIPBOARD}}', clipboardText.replaceAll('\r\n', '\n'));
text = text.replaceAll('{{CLIPBOARD}}', () => clipboardText.replaceAll('\r\n', '\n'));
}
if (text.includes('{{USER_LOCATION}}')) {

View file

@ -305,7 +305,7 @@
}
}
text = text.replaceAll('{{CLIPBOARD}}', clipboardText.replaceAll('\r\n', '\n'));
text = text.replaceAll('{{CLIPBOARD}}', () => clipboardText.replaceAll('\r\n', '\n'));
}
if (text.includes('{{USER_LOCATION}}')) {