From: Kohei Yoshino Date: Mon, 29 Apr 2019 18:21:32 +0000 (-0400) Subject: Bug 1535574 - Reply to Markdown comment adds extra line above quoted text but not... X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=94eb05ac0736bf50e1c86f971010c8e23b6d4b7e;p=thirdparty%2Fbugzilla.git Bug 1535574 - Reply to Markdown comment adds extra line above quoted text but not below --- diff --git a/extensions/BugModal/web/bug_modal.js b/extensions/BugModal/web/bug_modal.js index 5c5d029b1..d14120c49 100644 --- a/extensions/BugModal/web/bug_modal.js +++ b/extensions/BugModal/web/bug_modal.js @@ -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(); } );