remove trailing <br>s from queet text
This commit is contained in:
parent
8a7f7ce368
commit
c10d20a138
|
@ -2038,6 +2038,11 @@ function buildQueetHtml(obj, idInStream, extraClasses, requeeted_by, isConversat
|
||||||
statusnetHTML = placeQuotedNoticesInQueetText(attachmentBuild.quotedNotices, statusnetHTML);
|
statusnetHTML = placeQuotedNoticesInQueetText(attachmentBuild.quotedNotices, statusnetHTML);
|
||||||
statusnetHTML = statusnetHTML.html();
|
statusnetHTML = statusnetHTML.html();
|
||||||
|
|
||||||
|
// remove trailing <br>s from queet text
|
||||||
|
while (statusnetHTML.slice(-4) == '<br>') {
|
||||||
|
statusnetHTML = statusnetHTML.slice(0,-4);
|
||||||
|
}
|
||||||
|
|
||||||
// external
|
// external
|
||||||
var ostatusHtml = '';
|
var ostatusHtml = '';
|
||||||
if(obj.is_local === false) {
|
if(obj.is_local === false) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user