diff options
author | Phil Hughes <me@iamphill.com> | 2017-10-10 13:01:36 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-10-13 11:38:11 +0100 |
commit | def8b913fff2e0979abb1b3de93a97d00f88e806 (patch) | |
tree | 9bb731f76143dd11036520cfddc0d580234ef0b2 /app/assets/javascripts/shortcuts_issuable.js | |
parent | 299da4ca075160ea5778b10f2a93b87f65517a76 (diff) | |
download | gitlab-ce-def8b913fff2e0979abb1b3de93a97d00f88e806.tar.gz |
spec fixesph-shortcut-js-modules
Diffstat (limited to 'app/assets/javascripts/shortcuts_issuable.js')
-rw-r--r-- | app/assets/javascripts/shortcuts_issuable.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/shortcuts_issuable.js b/app/assets/javascripts/shortcuts_issuable.js index 02e6904fd82..fc97938e3d1 100644 --- a/app/assets/javascripts/shortcuts_issuable.js +++ b/app/assets/javascripts/shortcuts_issuable.js @@ -40,7 +40,7 @@ export default class ShortcutsIssuable extends ShortcutsNavigation { return false; } - const quote = _.map(selected.split('\n'), val => `> ${val.trim()}\n`); + const quote = _.map(selected.split('\n'), val => `${(`> ${val}`).trim()}\n`); // If replyField already has some content, add a newline before our quote const separator = (this.$replyField.val().trim() !== '' && '\n\n') || ''; |