public HtmlSanitizerHelper(IHtmlSanitizerFactory htmlSanitizerFactory) { _htmlSanitizerFactory = htmlSanitizerFactory; }
public HarmfulTagMiddleware(IHtmlSanitizerFactory htmlSanitizerFactory) { _sanitizer = htmlSanitizerFactory.CreateHtmlSanitizer(); }