From 03478ef33f5a2228d47bea634718ffae9ae3a5f2 Mon Sep 17 00:00:00 2001 From: Jason McBrayer Date: Mon, 12 Nov 2018 17:55:25 -0500 Subject: [PATCH] Remove \n from initial form for replies --- brutaldon/views.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/brutaldon/views.py b/brutaldon/views.py index d8ae5d7..128340a 100644 --- a/brutaldon/views.py +++ b/brutaldon/views.py @@ -563,8 +563,6 @@ def reply(request, id): initial_text = "" for mention in [x for x in toot.mentions if x.acct != request.session['user'].acct]: initial_text +=('@' + mention.acct + " ") - if initial_text != "": - initial_text += "\n" form = PostForm({'status': initial_text, 'visibility': toot.visibility, 'spoiler_text': toot.spoiler_text})