tweeted links builder is not rendering profile-image HTML
BryanWilhite opened this issue · comments
looks like the equivalent of this is missing:
var updateXhtmlFlow = function () {
var textarea = $("#XhtmlFlow > textarea");
textarea.empty();
$("#ProseFlow > li:not(.ui-state-disabled)").each(function () {
var li = $(this).clone();
var button = $(".remove.command", li);
var small = li.find("small");
var tweetId = small.text();
button.remove();
small.remove();
$("> a:first", li).attr("id", tweetId);
var liHtml = li.html()
.trim()
.replace(/\s+<img /, "<img ");
liHtml = "<p>" + liHtml + "</p>";
var txt = textarea.text();
txt = (txt && txt.length > 0) ? txt + "\r\n" + liHtml : liHtml;
textarea.text(txt);
});
};