public string FormatText(PolicyContainer policyParent, string input)
 {
     try {
         return(formatter.FormatText(policyParent ?? PolicyService.DefaultPolicies, mimeTypeChain, input));
     } catch (Exception e) {
         LoggingService.LogError("Error while formatting text.", e);
     }
     return(input);
 }
 public string FormatText(PolicyContainer policyParent, string input)
 {
     return(formatter.FormatText(policyParent ?? PolicyService.DefaultPolicies, mimeTypeChain, input));
 }