I've implemented the solution explained in this post How to get tweet's HTML with LinqToTwitter? but when I display my tweets the HTML links appear like this
<a class="inline" href="http://twitter.com/cgitosh" target="_blank">@cgitosh</a> And how are you?
instead of just showing @cgitosh And how are you? with @cgitosh linking to the twitter account.
What I'm I not doing right?
Razor code snipet:
@{var tweet = TwitterExtensions.Text2Html(item.Text);}
<div>@tweet</div>
So I basically pass the tweet text to the Text2HTML function which is explained in the link provided above which returns the tweet with links to the variable tweet which I then output in my view