This project is read-only.

How Can I Hook Into BodyPartRecord

Topics: Writing modules
Jul 23, 2011 at 1:35 AM

I'm new to Orchard. Can anyone tell me the best way to get a hook into updating the BodyPartRecord Text property before it is saved? I need to be able to filter unsafe out unsafe HTML, such as script tags anytime someone submits content.

Jul 25, 2011 at 11:00 PM

You could probably handle OnPublishing from a content handler.