Fixes #2788 - show formatted text under show more

This commit is contained in:
Sarah Mei 2012-02-01 11:55:20 -08:00
parent e5fe6a2280
commit 3ed68fc036

View file

@ -16,7 +16,7 @@ app.views.StreamObject = app.views.Base.extend({
var lastParagraphBeforeReadMore = readMoreDiv.prev();
var firstParagraphAfterReadMore = $(readMoreDiv.next().find('p')[0]);
lastParagraphBeforeReadMore.append(firstParagraphAfterReadMore.text());
lastParagraphBeforeReadMore.append(firstParagraphAfterReadMore.html());
firstParagraphAfterReadMore.remove();
readMoreDiv.remove();