mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 13:47:58 +01:00
use better-support jshite
This commit is contained in:
parent
6dc5bbe7ac
commit
f971a20c44
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ function commentReply(user, url, textarea, quote) {
|
||||||
newval += `${text}\n`;
|
newval += `${text}\n`;
|
||||||
|
|
||||||
if (quote) {
|
if (quote) {
|
||||||
newval += `> ${quote.replaceAll('\n', '\n> ')}\n\n`;
|
newval += `> ${quote.replace(/\n/g, '\n> ')}\n\n`;
|
||||||
}
|
}
|
||||||
|
|
||||||
textarea.value = newval;
|
textarea.value = newval;
|
||||||
|
|
Loading…
Reference in a new issue