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
Maybe it's because I did'nt get enough sleep, but I keep having trouble using UmbracoHelper.StripHtml. Here is the code I'm using:
var snippet = Utilities.GetFirstFewWords(UmbracoHelper.StripHtml(dynContest.text, null), 140);
Now I put null in that second params, I just want to remove all HTML tags in there. What am I missing?
Thanks!
var stripped = @Library.StripHtml(dynContest.text)
would be how I'd be using it in razor...
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Trouble using UmbracoHelper.StripHtml
Maybe it's because I did'nt get enough sleep, but I keep having trouble using UmbracoHelper.StripHtml. Here is the code I'm using:
Now I put null in that second params, I just want to remove all HTML tags in there. What am I missing?
Thanks!
var stripped = @Library.StripHtml(dynContest.text)
would be how I'd be using it in razor...
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.