Keep new lines on quotes

This commit is contained in:
Robin Ward 2016-02-26 15:27:34 -05:00
parent 416e461417
commit f887363e83

View File

@ -138,7 +138,7 @@ export default Ember.Controller.extend({
const quotedText = Quote.build(post, buffer);
composerOpts.quote = quotedText;
if (composerController.get('content.viewOpen') || composerController.get('content.viewDraft')) {
this.appEvents.trigger('composer:insert-text', quotedText.trim());
this.appEvents.trigger('composer:insert-text', quotedText);
} else {
composerController.open(composerOpts);
}