private string PrepareDescription(IStory story, string detailUrl) { string imageUrl = string.Concat(_model.RootUrl, "/image.axd", "?url=", story.Url.UrlEncode()); string storyLink = "<a rev=\"vote-for\" href=\"{0}\"><img alt=\"{1}\" src=\"{2}\" style=\"border:0px\"/></a>".FormatWith(detailUrl.AttributeEncode(), Data.PromoteText, imageUrl.AttributeEncode()); return("<div>" + "<div>" + "<div style=\"float:right\">" + "<img alt =\"\" src=\"{0}\"/>".FormatWith(story.SmallThumbnail().AttributeEncode()) + "</div>" + "<div>" + "{0}".FormatWith(story.TextDescription) + "</div>" + "</div>" + "<div style=\"padding-top:4px\">" + "{0}".FormatWith(storyLink) + "</div>" + "</div>"); }