]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1535574 - Reply to Markdown comment adds extra line above quoted text but not...
authorKohei Yoshino <kohei.yoshino@gmail.com>
Mon, 29 Apr 2019 18:21:32 +0000 (14:21 -0400)
committerGitHub <noreply@github.com>
Mon, 29 Apr 2019 18:21:32 +0000 (14:21 -0400)
extensions/BugModal/web/bug_modal.js

index 5c5d029b1fc661ac50d7c6b3fc6968cd8b605a7f..d14120c49a0b891dea96883709b91b7d58776bbe 100644 (file)
@@ -901,7 +901,7 @@ $(function() {
                     },
                     (data) => {
                         const quoted = data['comments'][uid]['text'].replace(/\n/g, "\n> ");
-                        reply_text = `${prefix}\n> ${quoted}`;
+                        reply_text = `${prefix}> ${quoted}\n\n`;
                         populateNewComment();
                     }
                 );