Hi there,
I have an issue with StripHtml method. I use it fro my search results that need to display a few first characters of the page content. It seems to remove html for some records but not all. If the content is within only p tags it work but if I have strong, heading tags or list items, they are still displayed along with the p tags. Any suggestions how to get it to work and remove all html tags?
Umbraco.StripHtml not removing all tags
Hi there, I have an issue with StripHtml method. I use it fro my search results that need to display a few first characters of the page content. It seems to remove html for some records but not all. If the content is within only p tags it work but if I have strong, heading tags or list items, they are still displayed along with the p tags. Any suggestions how to get it to work and remove all html tags?
Here's my partial view macro:
I am having a similar issue where StripHtml isn't removing any or all html. I am using EZSearch.
is working on a reply...