From a8e8a4b33bff9302c121e43576f298ecca162158 Mon Sep 17 00:00:00 2001 From: Normandy Date: Tue, 2 May 2017 08:35:52 -0400 Subject: [PATCH] Preserve p tags so that Mastodon notices render properly --- js/dom-functions.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/dom-functions.js b/js/dom-functions.js index f70c2d1..88337e2 100644 --- a/js/dom-functions.js +++ b/js/dom-functions.js @@ -2308,9 +2308,9 @@ function buildQueetHtml(obj, idInStream, extraClasses, requeeted_by, isConversat }); // if statusnetHTML is contains

: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(){