How would I get this:
<code class="language-markup">@Html.Partial("components")</code>
To output the encoded version of the HTML markup? I tried the httpUtility but it threw up a few errors.
How would I get this:
<code class="language-markup">@Html.Partial("components")</code>
To output the encoded version of the HTML markup? I tried the httpUtility but it threw up a few errors.
I think just call the encode
<code class="language-markup">
@Html.Encode(Html.Partial("components"))
</code>