Forum Discussion
PaoloT
12 years agoLithium Alumni (Retired)
Hi jlutterloh,
if you want for example to restrict to text - you can in freemarker sanitize the input with
${utils.html.stripper.from.gdata.strip("<p>hello <b>world</b><strong>!</strong>")}
Have also a look at this article - applied to a different context but should be the same thing you are aiming to achieve if I understood correctly.
Cheers,
Inactive User
12 years agoShould have clarified a bit. I knew about the html stripper, but as far as content goes, we'd like to apply the smut filter to this input as well if possible...