Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Is there an API call to Remove BBCode formatting View modes: 
User avatar
Certified Developer v6
Certified Developer v6
hoppe - 11/28/2012 10:55:53 AM
   
Is there an API call to Remove BBCode formatting
The forums on my site use bbcode.

In some cases, I want to the display the post without bbcode formatting (i.e. display without the bold text, italics, etc).

Does the Kentico API have a call that strips the bbcode out from the text?

I can easily write my own code to do this, but I wasn't sure if Kentico has already done it.

Thanks,
Joe

User avatar
Certified Developer v6
Certified Developer v6
hoppe - 11/28/2012 12:37:12 PM
   
RE:Is there an API call to Remove BBCode formatting
I spoke too soon. It looks like it is: DiscussionMacroHelper.RemoveTags()