Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hello,
What is the right syntax for @Html.StripHtml in umbraco 8 please.
Thanks,
Kusum
Hi
strip all tags
@Html.StripHtml("<p>my <strong>html</strong> string</p>", null);
or
@Html.StripHtml("<p>my <strong>html</strong> string</p>");
strip some tags
@Html.StripHtml("<p>my <strong>html</strong> string</p>", "p" );
string tags[] = { "p" }; @Html.StripHtml("<p>my <strong>html</strong> string</p>", tags);
Thanks kevin
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
@Html.StripHtml + umbraco 8
Hello,
What is the right syntax for @Html.StripHtml in umbraco 8 please.
Thanks,
Kusum
Hi
strip all tags
or
strip some tags
or
Thanks kevin
is working on a reply...