remove trailing <br>s from queet text

This commit is contained in:
Hannes Mannerheim 2016-01-21 03:00:17 +01:00
parent 8a7f7ce368
commit c10d20a138

View File

@ -2038,6 +2038,11 @@ function buildQueetHtml(obj, idInStream, extraClasses, requeeted_by, isConversat
statusnetHTML = placeQuotedNoticesInQueetText(attachmentBuild.quotedNotices, statusnetHTML);
statusnetHTML = statusnetHTML.html();
// remove trailing <br>s from queet text
while (statusnetHTML.slice(-4) == '<br>') {
statusnetHTML = statusnetHTML.slice(0,-4);
}
// external
var ostatusHtml = '';
if(obj.is_local === false) {