minor change to reply quoting

pull/142/head
Aevann 2023-03-19 13:46:02 +02:00
parent 9cea919e98
commit 751556a8be
1 changed files with 3 additions and 3 deletions

View File

@ -63,10 +63,10 @@ function toggleReplyBox(id) {
text = text.replace(/\n/g,"\n> ").replace(/\*/g,"\\*")
text = text.replace(/\n> \n/g,"\n \n")
text = text.split('> Reply')[0]
if (!text.endsWith('\n')) text += '\n'
if (ta.value) ta.value += '\n' + text
else ta.value = text
if (!t.value.endsWith('\n')) ta.value += '\n'
ta.value += text
if (!t.value.endsWith('\n')) ta.value += '\n'
}
ta.focus()
}