From 06913474b445e857d8f4dcd1fc3a64e6998f7a11 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Sat, 5 Apr 2014 15:01:28 -0400 Subject: [PATCH] Add new class to expanded content so it can be styled --- app/assets/javascripts/discourse/models/post.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/models/post.js b/app/assets/javascripts/discourse/models/post.js index 1c894afbf9a..7d06c66dfa7 100644 --- a/app/assets/javascripts/discourse/models/post.js +++ b/app/assets/javascripts/discourse/models/post.js @@ -184,7 +184,7 @@ Discourse.Post = Discourse.Model.extend({ expand: function() { var self = this; return Discourse.ajax("/posts/" + this.get('id') + "/expand-embed").then(function(post) { - self.set('cooked', post.cooked); + self.set('cooked', "
" + post.cooked + "
" ); }); },