mirror of
http://git.carcosa.net/jmcbray/brutaldon.git
synced 2024-11-12 18:08:40 -05:00
Remove \n from initial form for replies
This commit is contained in:
parent
ffe50791d1
commit
03478ef33f
@ -563,8 +563,6 @@ def reply(request, id):
|
|||||||
initial_text = ""
|
initial_text = ""
|
||||||
for mention in [x for x in toot.mentions if x.acct != request.session['user'].acct]:
|
for mention in [x for x in toot.mentions if x.acct != request.session['user'].acct]:
|
||||||
initial_text +=('@' + mention.acct + " ")
|
initial_text +=('@' + mention.acct + " ")
|
||||||
if initial_text != "":
|
|
||||||
initial_text += "\n"
|
|
||||||
form = PostForm({'status': initial_text,
|
form = PostForm({'status': initial_text,
|
||||||
'visibility': toot.visibility,
|
'visibility': toot.visibility,
|
||||||
'spoiler_text': toot.spoiler_text})
|
'spoiler_text': toot.spoiler_text})
|
||||||
|
Loading…
Reference in New Issue
Block a user