Disable HTML Markup In "Preview Article"
<p>I have a problem displaying a "preview" of a text on my website. Let's assume it's an article and I only want to display the first 50 letters of the article (people will have to click 'read more' to read the rest), that I have accomplished but my issue now is that it displays the text as HTML.</p>

<p>So, what I do is the following:</p>

<pre><code>&lt;td&gt;&lt;%# Eval("Description").ToString().Crop(50, true) %&gt;&lt;/td&gt;
</code></pre>

<p>This line above displays the Description and then calls my TextService.cs to crop the text to 50 letters, as below:</p>

<pre><code>public static string Crop(this string text, int length)
{
    return Crop(text, length, false);
}
public static string Crop(this string text, int length, bool removeBreak)
{
    if (removeBreak)
        text = text.Replace("&lt;br /&gt;", " ");
    return (text.Length &gt; length) ? string.Format("{0}...", text.Substring(0, length)) : text;
}
</code></pre>

<p>But if I edit my article to a big fat  text, then it will be visible in the preview box. How can I display the "preview text" as plain text without any HTML?</p>

<p>I hope it all makes sense - otherwise feel free to ask questions.</p>
