I have a string containing the CSS style of the c font embedded in the string. I am using Razor and I want to show the result in a text box or something similar. Is there a good way to do this?
This is what the line looks like:
<font color="DD0000"><b>7/10/2014 - CFENDALL</b> Hi Mike - I have invoice 133528E for PO 158960 - This is past due - Please let me know when PO is received. Thank you. Cynthia</font>
I want the stylish version to appear in the text box, but now it just displays the string without using css.
Here is what I mean right now:
<div class="editor-field" id="summary">
@Html.TextAreaFor(model => model.Notes, new { @readonly = "readonly"})
</div>
source
share