void WikiPage_BeforeUpdate(object sender, uWiki.Businesslogic.UpdateEventArgs e) { SanitizeWiki((uWiki.Businesslogic.WikiPage)sender); }
private void SanitizeWiki(uWiki.Businesslogic.WikiPage wp) { wp.Body = our.Utills.Sanitize(wp.Body); wp.Title = our.Utills.Sanitize(wp.Title); }