This commit is contained in:
Jeena Paradies 2012-11-22 11:08:01 +01:00
parent accc5e5286
commit 201b0a46ba
3 changed files with 27 additions and 2 deletions

View file

@ -211,7 +211,7 @@ function(jQuery, Paths, URI, HostApp, Followings) {
template.in_reply.parentNode.className = "hidden";
var text = status.content.text.replace(/\n/g, "<br>");
var text = status.content.text.escapeHTML().replace(/\n/g, "<br>");
var entities = [status.entity];
status.mentions.map(function (mention) {
entities.push(mention.entity)