]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1524158 - markdown generated by approval comment form could be improved
authorKohei Yoshino <kohei.yoshino@gmail.com>
Fri, 8 Feb 2019 18:12:16 +0000 (13:12 -0500)
committerGitHub <noreply@github.com>
Fri, 8 Feb 2019 18:12:16 +0000 (13:12 -0500)
extensions/FlagTypeComment/web/js/ftc.js

index 482b18e64b641b52467f00198ad5df1feac98f48..9ae965e44d754ec38042be8a3a8407865a21a534 100644 (file)
@@ -210,9 +210,9 @@ Bugzilla.FlagTypeComment = class FlagTypeComment {
             }
           }
 
-          return `#### ${label}\n\n${value}`;
+          return `* **${label}**: ${value}`;
         }),
-      ].join('\n\n');
+      ].join('\n');
 
       this.add_comment(text);
       $fieldset.remove();