added visible new lines
This commit is contained in:
parent
43c7e2aee7
commit
5b01b17f0f
1 changed files with 3 additions and 1 deletions
|
@ -178,8 +178,10 @@ function(jQuery, Paths, URI, HostApp, Followings) {
|
||||||
|
|
||||||
template.in_reply.parentNode.className = "hidden";
|
template.in_reply.parentNode.className = "hidden";
|
||||||
|
|
||||||
|
var text = status.content.text.replace(/\n/g, "<br>");
|
||||||
|
|
||||||
template.message.innerHTML = this.replaceUsernamesWithLinks(
|
template.message.innerHTML = this.replaceUsernamesWithLinks(
|
||||||
this.replaceURLWithHTMLLinks(status.content.text, status.entities, template.message)
|
this.replaceURLWithHTMLLinks(text, status.entities, template.message)
|
||||||
);
|
);
|
||||||
|
|
||||||
this.findMentions(template.message, status.mentions);
|
this.findMentions(template.message, status.mentions);
|
||||||
|
|
Reference in a new issue