public HtmlSanitizer( IDefaultHtmlSanitizationRuleSetFactory defaultHtmlSanitizationRuleSetFactory ) { var defaultHtmlSanitizationRuleSet = defaultHtmlSanitizationRuleSetFactory.Create(); _defaultSanitizer = CreateSanitizer(defaultHtmlSanitizationRuleSet); _defaultBaseUrl = GetBaseUrl(defaultHtmlSanitizationRuleSet); }
public HtmlSanitizer( IDefaultHtmlSanitizationRuleSetFactory defaultHtmlSanitizationRuleSetFactory ) { _defaultHtmlSanitizationRuleSetFactory = defaultHtmlSanitizationRuleSetFactory; }