use better-support jshite

This commit is contained in:
Luna D 2021-10-01 16:11:28 +02:00
parent 6dc5bbe7ac
commit f971a20c44
No known key found for this signature in database
GPG key ID: 81AF416F2CC36FC8

View file

@ -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;