Reputation: 93
I am calling @Html.Encode to encode the <
sign but my output is &lt;
should I be calling the Html.Encode method to clean the string?
Code
<span>@Html.Encode(indication.Sentence.CompiledTextTitleCase)</span>
Upvotes: 0
Views: 66
Reputation: 525
For displaying the "Ph-negative Adolescent and Young Adult or Ph-negative Adult: Age < 60 years" you have to simply provide
<span>@indication.Sentence.CompiledTextTitleCase</span>
Upvotes: 1