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