Preserve p tags so that Mastodon notices render properly

This commit is contained in:
Normandy 2017-05-02 08:35:52 -04:00
parent 155195c529
commit a8e8a4b33b

View File

@ -2308,9 +2308,9 @@ function buildQueetHtml(obj, idInStream, extraClasses, requeeted_by, isConversat
});
// if statusnetHTML is contains <p>:s, unwrap those (diaspora..)
statusnetHTML.children('p').each(function(){
/*statusnetHTML.children('p').each(function(){
$(this).contents().unwrap();
});
});*/
// bookmarks created by the bookmark plugin get's a tooltip
statusnetHTML.find('.xfolkentry').each(function(){