same as last commit

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

View File

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