Beispiel #1
0
 public PageWrapper CreatePage(string name, string body)
 {
     return(new PageWrapper(_engine.CreatePage(new Page {
         PageName = name, Body = body
     })));
 }
Beispiel #2
0
 public PageWrapper CreatePage(string name, string body)
 {
     return(new PageWrapper(_engine.CreatePage(new Page {
         PageName = name, Body = Sanitizer.GetSafeHtmlFragment(body)
     })));
 }