--- a/src/js/widgets/tweetsWidget.js Mon Nov 21 10:17:54 2011 +0100
+++ b/src/js/widgets/tweetsWidget.js Mon Nov 21 10:51:22 2011 +0100
@@ -13,7 +13,7 @@
IriSP.TweetsWidget.prototype.drawTweet = function(annotation) {
- var title = annotation.content.title;
+ var title = IriSP.formatTweet(annotation.content.title);
var img = annotation.content.img.src;
if (typeof(img) === "undefined" || img === "" || img === "None") {
img = IriSP.widgetsDefaults.TweetsWidget.default_profile_picture;
@@ -22,7 +22,7 @@
var imageMarkup = Mustache.to_html("<img src='{{src}}' alt='avatar'></img>",
{src : img});
- this.selector.find(".Ldt-tweetContents").text(title);
+ this.selector.find(".Ldt-tweetContents").html(title);
this.selector.find(".Ldt-tweetAvatar").html(imageMarkup);
this.selector.show("blind", 250);
};