<?xml version="1.0"?>
<doc>
    <assembly>
        <name>HtmlSanitizer</name>
    </assembly>
    <members>
        <member name="T:Ganss.XSS.PostProcessDomEventArgs">
            <summary>
            Provides data for the <see cref="E:Ganss.XSS.HtmlSanitizer.PostProcessDom"/> event.
            </summary>
        </member>
        <member name="P:Ganss.XSS.PostProcessDomEventArgs.Document">
            <summary>
            Gets or sets the document.
            </summary>
            <value>
            The document.
            </value>
        </member>
        <member name="M:Ganss.XSS.PostProcessDomEventArgs.#ctor">
            <summary>
            Initializes a new instance of the <see cref="T:Ganss.XSS.PostProcessDomEventArgs"/> class.
            </summary>
        </member>
        <member name="T:Ganss.XSS.PostProcessNodeEventArgs">
            <summary>
            Provides data for the <see cref="E:Ganss.XSS.HtmlSanitizer.PostProcessNode"/> event.
            </summary>
        </member>
        <member name="P:Ganss.XSS.PostProcessNodeEventArgs.Document">
            <summary>
            Gets or sets the document.
            </summary>
            <value>
            The document.
            </value>
        </member>
        <member name="P:Ganss.XSS.PostProcessNodeEventArgs.Node">
            <summary>
            Gets or sets the DOM node to be processed.
            </summary>
            <value>
            The DOM node.
            </value>
        </member>
        <member name="P:Ganss.XSS.PostProcessNodeEventArgs.ReplacementNodes">
            <summary>
            Gets the replacement nodes. Leave empty if no replacement should occur.
            </summary>
            <value>
            The replacement nodes.
            </value>
        </member>
        <member name="M:Ganss.XSS.PostProcessNodeEventArgs.#ctor">
            <summary>
            Initializes a new instance of the <see cref="T:Ganss.XSS.PostProcessNodeEventArgs"/> class.
            </summary>
        </member>
        <member name="T:Ganss.XSS.RemovingTagEventArgs">
            <summary>
            Provides data for the <see cref="E:Ganss.XSS.HtmlSanitizer.RemovingTag"/> event.
            </summary>
        </member>
        <member name="P:Ganss.XSS.RemovingTagEventArgs.Tag">
            <summary>
            Gets or sets the tag to be removed.
            </summary>
            <value>
            The tag.
            </value>
        </member>
        <member name="P:Ganss.XSS.RemovingTagEventArgs.Reason">
            <summary>
            Gets or sets the reason why the tag will be removed
            </summary>
            <value>
            The reason.
            </value>
        </member>
        <member name="T:Ganss.XSS.RemovingAttributeEventArgs">
            <summary>
            Provides data for the <see cref="E:Ganss.XSS.HtmlSanitizer.RemovingAttribute"/> event.
            </summary>
        </member>
        <member name="P:Ganss.XSS.RemovingAttributeEventArgs.Tag">
            <summary>
            Gets or sets the tag containing the attribute to be removed.
            </summary>
            <value>
            The tag.
            </value>
        </member>
        <member name="P:Ganss.XSS.RemovingAttributeEventArgs.Attribute">
            <summary>
            Gets or sets the attribute to be removed.
            </summary>
            <value>
            The attribute.
            </value>
        </member>
        <member name="P:Ganss.XSS.RemovingAttributeEventArgs.Reason">
            <summary>
            Gets or sets the reason why the attribute will be removed
            </summary>
            <value>
            The reason.
            </value>
        </member>
        <member name="T:Ganss.XSS.RemovingStyleEventArgs">
            <summary>
            Provides data for the <see cref="E:Ganss.XSS.HtmlSanitizer.RemovingStyle"/> event.
            </summary>
        </member>
        <member name="P:Ganss.XSS.RemovingStyleEventArgs.Tag">
            <summary>
            Gets or sets the tag containing the style to be removed.
            </summary>
            <value>
            The tag.
            </value>
        </member>
        <member name="P:Ganss.XSS.RemovingStyleEventArgs.Style">
            <summary>
            Gets or sets the style to be removed.
            </summary>
            <value>
            The style.
            </value>
        </member>
        <member name="P:Ganss.XSS.RemovingStyleEventArgs.Reason">
            <summary>
            Gets or sets the reason why the style will be removed
            </summary>
            <value>
            The reason.
            </value>
        </member>
        <member name="T:Ganss.XSS.RemovingAtRuleEventArgs">
            <summary>
            Provides data for the <see cref="E:Ganss.XSS.HtmlSanitizer.RemovingAtRule"/> event.
            </summary>
        </member>
        <member name="P:Ganss.XSS.RemovingAtRuleEventArgs.Tag">
            <summary>
            Gets or sets the tag containing the at-rule to be removed.
            </summary>
            <value>
            The tag.
            </value>
        </member>
        <member name="P:Ganss.XSS.RemovingAtRuleEventArgs.Rule">
            <summary>
            Gets or sets the rule to be removed.
            </summary>
            <value>
            The rule.
            </value>
        </member>
        <member name="T:Ganss.XSS.RemovingCommentEventArgs">
            <summary>
            Provides data for the <see cref="E:Ganss.XSS.HtmlSanitizer.RemovingComment"/> event.
            </summary>
        </member>
        <member name="P:Ganss.XSS.RemovingCommentEventArgs.Comment">
            <summary>
            Gets or sets the comment node to be removed.
            </summary>
            <value>
            The comment node.
            </value>
        </member>
        <member name="T:Ganss.XSS.RemovingCssClassEventArgs">
            <summary>
            Provides data for the <see cref="E:Ganss.XSS.HtmlSanitizer.RemovingCssClass"/> event.
            </summary>
        </member>
        <member name="P:Ganss.XSS.RemovingCssClassEventArgs.Tag">
            <summary>
            Gets or sets the tag containing the CSS class to be removed.
            </summary>
            <value>
            The tag.
            </value>
        </member>
        <member name="P:Ganss.XSS.RemovingCssClassEventArgs.CssClass">
            <summary>
            Gets or sets the CSS class to be removed.
            </summary>
            <value>
            The CSS class.
            </value>
        </member>
        <member name="P:Ganss.XSS.RemovingCssClassEventArgs.Reason">
            <summary>
            Gets or sets the reason why the CSS class will be removed.
            </summary>
            <value>
            The reason.
            </value>
        </member>
        <member name="T:Ganss.XSS.FilterUrlEventArgs">
            <summary>
            Provides data for the <see cref="E:Ganss.XSS.HtmlSanitizer.FilterUrl"/> event.
            </summary>
        </member>
        <member name="P:Ganss.XSS.FilterUrlEventArgs.OriginalUrl">
            <summary>
            Gets or sets the original URL.
            </summary>
            <value>
            The original URL.
            </value>
        </member>
        <member name="P:Ganss.XSS.FilterUrlEventArgs.SanitizedUrl">
            <summary>
            Gets or sets the sanitized URL.
            </summary>
            <value>
            The sanitized URL. If it is null, it will be removed.
            </value>
        </member>
        <member name="T:Ganss.XSS.HtmlFormatter">
            <summary>
            HTML5 markup formatter. Identical to <see cref="T:AngleSharp.Html.HtmlMarkupFormatter"/> except for &lt; and &gt; which are
            encoded in attribute values.
            </summary>
        </member>
        <member name="F:Ganss.XSS.HtmlFormatter.Instance">
            <summary>
            An instance of <see cref="T:Ganss.XSS.HtmlFormatter"/>.
            </summary>
        </member>
        <member name="T:Ganss.XSS.HtmlSanitizer">
            <summary>
            Cleans HTML documents and fragments from constructs that can lead to <a href="https://en.wikipedia.org/wiki/Cross-site_scripting">XSS attacks</a>.
            </summary>
            <remarks>
            XSS attacks can occur at several levels within an HTML document or fragment:
            <list type="bullet">
            <item>HTML Tags (e.g. the &lt;script&gt; tag)</item>
            <item>HTML attributes (e.g. the "onload" attribute)</item>
            <item>CSS styles (url property values)</item>
            <item>malformed HTML or HTML that exploits parser bugs in specific browsers</item>
            </list>
            <para>
            The HtmlSanitizer class addresses all of these possible attack vectors by using a sophisticated HTML parser (<a href="https://github.com/AngleSharp/AngleSharp">AngleSharp</a>).
            </para>
            <para>
            In order to facilitate different use cases, HtmlSanitizer can be customized at the levels mentioned above:
            <list type="bullet">
            <item>You can specify the allowed HTML tags through the property <see cref="P:Ganss.XSS.HtmlSanitizer.AllowedTags"/>. All other tags will be stripped.</item>
            <item>You can specify the allowed HTML attributes through the property <see cref="P:Ganss.XSS.HtmlSanitizer.AllowedAttributes"/>. All other attributes will be stripped.</item>
            <item>You can specify the allowed CSS property names through the property <see cref="P:Ganss.XSS.HtmlSanitizer.AllowedCssProperties"/>. All other styles will be stripped.</item>
            <item>You can specify the allowed URI schemes through the property <see cref="P:Ganss.XSS.HtmlSanitizer.AllowedSchemes"/>. All other URIs will be stripped.</item>
            <item>You can specify the HTML attributes that contain URIs (such as "src", "href" etc.) through the property <see cref="P:Ganss.XSS.HtmlSanitizer.UriAttributes"/>.</item>
            </list>
            </para>
            </remarks>
            <example>
            <code>
            <![CDATA[
            var sanitizer = new HtmlSanitizer();
            var html = @"<script>alert('xss')</script><div onload=""alert('xss')"" style=""background-color: test"">Test<img src=""test.gif"" style=""background-image: url(javascript:alert('xss')); margin: 10px""></div>";
            var sanitized = sanitizer.Sanitize(html, "http://www.example.com");
            // -> "<div style="background-color: test">Test<img style="margin: 10px" src="http://www.example.com/test.gif"></div>"
            ]]>
            </code>
            </example>
        </member>
        <member name="M:Ganss.XSS.HtmlSanitizer.#ctor(System.Collections.Generic.IEnumerable{System.String},System.Collections.Generic.IEnumerable{System.String},System.Collections.Generic.IEnumerable{System.String},System.Collections.Generic.IEnumerable{System.String},System.Collections.Generic.IEnumerable{System.String},System.Collections.Generic.IEnumerable{System.String})">
            <summary>
            Initializes a new instance of the <see cref="T:Ganss.XSS.HtmlSanitizer"/> class.
            </summary>
            <param name="allowedTags">The allowed tag names such as "a" and "div". When <c>null</c>, uses <see cref="P:Ganss.XSS.HtmlSanitizer.DefaultAllowedTags"/></param>
            <param name="allowedSchemes">The allowed HTTP schemes such as "http" and "https". When <c>null</c>, uses <see cref="P:Ganss.XSS.HtmlSanitizer.DefaultAllowedSchemes"/></param>
            <param name="allowedAttributes">The allowed HTML attributes such as "href" and "alt". When <c>null</c>, uses <see cref="P:Ganss.XSS.HtmlSanitizer.DefaultAllowedAttributes"/></param>
            <param name="uriAttributes">The HTML attributes that can contain a URI such as "href". When <c>null</c>, uses <see cref="P:Ganss.XSS.HtmlSanitizer.DefaultUriAttributes"/></param>
            <param name="allowedCssProperties">The allowed CSS properties such as "font" and "margin". When <c>null</c>, uses <see cref="P:Ganss.XSS.HtmlSanitizer.DefaultAllowedCssProperties"/></param>
            <param name="allowedCssClasses">CSS class names which are allowed in the value of a class attribute. When <c>null</c>, any class names are allowed.</param>
        </member>
        <member name="P:Ganss.XSS.HtmlSanitizer.DefaultKeepChildNodes">
            <summary>
            Gets or sets the default value indicating whether to keep child nodes of elements that are removed. Default is false.
            </summary>
        </member>
        <member name="P:Ganss.XSS.HtmlSanitizer.KeepChildNodes">
            <summary>
            Gets or sets a value indicating whether to keep child nodes of elements that are removed. Default is <see cref="P:Ganss.XSS.HtmlSanitizer.DefaultKeepChildNodes"/>.
            </summary>
        </member>
        <member name="P:Ganss.XSS.HtmlSanitizer.DefaultHtmlParserFactory">
            <summary>
            Gets or sets the default <see cref="T:System.Func`1"/> object that creates the parser used for parsing the input.
            </summary>
        </member>
        <member name="P:Ganss.XSS.HtmlSanitizer.HtmlParserFactory">
            <summary>
            Gets or sets the <see cref="T:System.Func`1"/> object the creates the parser used for parsing the input.
            </summary>
        </member>
        <member name="P:Ganss.XSS.HtmlSanitizer.DefaultOutputFormatter">
            <summary>
            Gets or sets the default <see cref="T:AngleSharp.IMarkupFormatter"/> object used for generating output. Default is <see cref="F:Ganss.XSS.HtmlFormatter.Instance"/>.
            </summary>
        </member>
        <member name="P:Ganss.XSS.HtmlSanitizer.OutputFormatter">
            <summary>
            Gets or sets the <see cref="T:AngleSharp.IMarkupFormatter"/> object used for generating output. Default is <see cref="P:Ganss.XSS.HtmlSanitizer.DefaultOutputFormatter"/>.
            </summary>
        </member>
        <member name="P:Ganss.XSS.HtmlSanitizer.AllowedAtRules">
            <summary>
            Gets or sets the allowed CSS at-rules such as "@media" and "@font-face".
            </summary>
            <value>
            The allowed CSS at-rules.
            </value>
        </member>
        <member name="P:Ganss.XSS.HtmlSanitizer.DefaultAllowedAtRules">
            <summary>
            The default allowed CSS at-rules.
            </summary>
        </member>
        <member name="P:Ganss.XSS.HtmlSanitizer.AllowedSchemes">
            <summary>
            Gets or sets the allowed HTTP schemes such as "http" and "https".
            </summary>
            <value>
            The allowed HTTP schemes.
            </value>
        </member>
        <member name="P:Ganss.XSS.HtmlSanitizer.DefaultAllowedSchemes">
            <summary>
            The default allowed URI schemes.
            </summary>
        </member>
        <member name="P:Ganss.XSS.HtmlSanitizer.AllowedTags">
            <summary>
            Gets or sets the allowed HTML tag names such as "a" and "div".
            </summary>
            <value>
            The allowed tag names.
            </value>
        </member>
        <member name="P:Ganss.XSS.HtmlSanitizer.DefaultAllowedTags">
            <summary>
            The default allowed HTML tag names.
            </summary>
        </member>
        <member name="P:Ganss.XSS.HtmlSanitizer.AllowedAttributes">
            <summary>
            Gets or sets the allowed HTML attributes such as "href" and "alt".
            </summary>
            <value>
            The allowed HTML attributes.
            </value>
        </member>
        <member name="P:Ganss.XSS.HtmlSanitizer.AllowDataAttributes">
            <summary>
            Allow all HTML5 data attributes; the attributes prefixed with data-
            </summary>
        </member>
        <member name="P:Ganss.XSS.HtmlSanitizer.DefaultAllowedAttributes">
            <summary>
            The default allowed HTML attributes.
            </summary>
        </member>
        <member name="P:Ganss.XSS.HtmlSanitizer.UriAttributes">
            <summary>
            Gets or sets the HTML attributes that can contain a URI such as "href".
            </summary>
            <value>
            The URI attributes.
            </value>
        </member>
        <member name="P:Ganss.XSS.HtmlSanitizer.DefaultUriAttributes">
            <summary>
            The default URI attributes.
            </summary>
        </member>
        <member name="P:Ganss.XSS.HtmlSanitizer.AllowedCssProperties">
            <summary>
            Gets or sets the allowed CSS properties such as "font" and "margin".
            </summary>
            <value>
            The allowed CSS properties.
            </value>
        </member>
        <member name="P:Ganss.XSS.HtmlSanitizer.DefaultAllowedCssProperties">
            <summary>
            The default allowed CSS properties.
            </summary>
        </member>
        <member name="P:Ganss.XSS.HtmlSanitizer.DisallowCssPropertyValue">
            <summary>
            Gets or sets a regex that must not match for legal CSS property values.
            </summary>
            <value>
            The regex.
            </value>
        </member>
        <member name="P:Ganss.XSS.HtmlSanitizer.AllowedCssClasses">
            <summary>
            Gets or sets the allowed CSS classes.
            </summary>
            <value>
            The allowed CSS classes.
            </value>
        </member>
        <member name="E:Ganss.XSS.HtmlSanitizer.PostProcessDom">
            <summary>
            Occurs after sanitizing the document and post processing nodes.
            </summary>
        </member>
        <member name="E:Ganss.XSS.HtmlSanitizer.PostProcessNode">
            <summary>
            Occurs for every node after sanitizing.
            </summary>
        </member>
        <member name="E:Ganss.XSS.HtmlSanitizer.RemovingTag">
            <summary>
            Occurs before a tag is removed.
            </summary>
        </member>
        <member name="E:Ganss.XSS.HtmlSanitizer.RemovingAttribute">
            <summary>
            Occurs before an attribute is removed.
            </summary>
        </member>
        <member name="E:Ganss.XSS.HtmlSanitizer.RemovingStyle">
            <summary>
            Occurs before a style is removed.
            </summary>
        </member>
        <member name="E:Ganss.XSS.HtmlSanitizer.RemovingAtRule">
            <summary>
            Occurs before an at-rule is removed.
            </summary>
        </member>
        <member name="E:Ganss.XSS.HtmlSanitizer.RemovingComment">
            <summary>
            Occurs before a comment is removed.
            </summary>
        </member>
        <member name="E:Ganss.XSS.HtmlSanitizer.RemovingCssClass">
            <summary>
            Occurs before a CSS class is removed.
            </summary>
        </member>
        <member name="E:Ganss.XSS.HtmlSanitizer.FilterUrl">
            <summary>
            Occurs when a URL is being sanitized.
            </summary>
        </member>
        <member name="M:Ganss.XSS.HtmlSanitizer.OnPostProcessDom(Ganss.XSS.PostProcessDomEventArgs)">
            <summary>
            Raises the <see cref="E:PostProcessDom" /> event.
            </summary>
            <param name="e">The <see cref="T:Ganss.XSS.PostProcessDomEventArgs"/> instance containing the event data.</param>
        </member>
        <member name="M:Ganss.XSS.HtmlSanitizer.OnPostProcessNode(Ganss.XSS.PostProcessNodeEventArgs)">
            <summary>
            Raises the <see cref="E:PostProcessNode" /> event.
            </summary>
            <param name="e">The <see cref="T:Ganss.XSS.PostProcessNodeEventArgs"/> instance containing the event data.</param>
        </member>
        <member name="M:Ganss.XSS.HtmlSanitizer.OnRemovingTag(Ganss.XSS.RemovingTagEventArgs)">
            <summary>
            Raises the <see cref="E:RemovingTag" /> event.
            </summary>
            <param name="e">The <see cref="T:Ganss.XSS.RemovingTagEventArgs"/> instance containing the event data.</param>
        </member>
        <member name="M:Ganss.XSS.HtmlSanitizer.OnRemovingAttribute(Ganss.XSS.RemovingAttributeEventArgs)">
            <summary>
            Raises the <see cref="E:RemovingAttribute" /> event.
            </summary>
            <param name="e">The <see cref="T:Ganss.XSS.RemovingAttributeEventArgs"/> instance containing the event data.</param>
        </member>
        <member name="M:Ganss.XSS.HtmlSanitizer.OnRemovingStyle(Ganss.XSS.RemovingStyleEventArgs)">
            <summary>
            Raises the <see cref="E:RemovingStyle" /> event.
            </summary>
            <param name="e">The <see cref="T:Ganss.XSS.RemovingStyleEventArgs"/> instance containing the event data.</param>
        </member>
        <member name="M:Ganss.XSS.HtmlSanitizer.OnRemovingAtRule(Ganss.XSS.RemovingAtRuleEventArgs)">
            <summary>
            Raises the <see cref="E:RemovingAtRule" /> event.
            </summary>
            <param name="e">The <see cref="T:Ganss.XSS.RemovingAtRuleEventArgs"/> instance containing the event data.</param>
        </member>
        <member name="M:Ganss.XSS.HtmlSanitizer.OnRemovingComment(Ganss.XSS.RemovingCommentEventArgs)">
            <summary>
            Raises the <see cref="E:RemovingComment" /> event.
            </summary>
            <param name="e">The <see cref="T:Ganss.XSS.RemovingCommentEventArgs"/> instance containing the event data.</param>
        </member>
        <member name="F:Ganss.XSS.HtmlSanitizer.DefaultDisallowedCssPropertyValue">
            <summary>
            The default regex for disallowed CSS property values.
            </summary>
        </member>
        <member name="M:Ganss.XSS.HtmlSanitizer.OnRemovingCssClass(Ganss.XSS.RemovingCssClassEventArgs)">
            <summary>
            Raises the <see cref="E:RemovingCSSClass" /> event.
            </summary>
            <param name="e">The <see cref="T:Ganss.XSS.RemovingCssClassEventArgs"/> instance containing the event data.</param>
        </member>
        <member name="M:Ganss.XSS.HtmlSanitizer.OnFilteringUrl(Ganss.XSS.FilterUrlEventArgs)">
            <summary>
            Raises the <see cref="E:RemovingUrl" /> event.
            </summary>
            <param name="e">The <see cref="T:Ganss.XSS.FilterUrlEventArgs"/> instance containing the event data.</param>
        </member>
        <member name="M:Ganss.XSS.HtmlSanitizer.GetAllNodes(AngleSharp.Dom.INode)">
            <summary>
            Return all nested subnodes of a node.
            </summary>
            <param name="dom">The root node.</param>
            <returns>All nested subnodes.</returns>
        </member>
        <member name="M:Ganss.XSS.HtmlSanitizer.Sanitize(System.String,System.String,AngleSharp.IMarkupFormatter)">
            <summary>
            Sanitizes the specified HTML body fragment. If a document is given, only the body part will be returned.
            </summary>
            <param name="html">The HTML body fragment to sanitize.</param>
            <param name="baseUrl">The base URL relative URLs are resolved against. No resolution if empty.</param>
            <param name="outputFormatter">The formatter used to render the DOM. Using the <see cref="P:Ganss.XSS.HtmlSanitizer.OutputFormatter"/> if null.</param>
            <returns>The sanitized HTML body fragment.</returns>
        </member>
        <member name="M:Ganss.XSS.HtmlSanitizer.SanitizeDom(System.String,System.String)">
            <summary>
            Sanitizes the specified HTML body fragment. If a document is given, only the body part will be returned.
            </summary>
            <param name="html">The HTML body fragment to sanitize.</param>
            <param name="baseUrl">The base URL relative URLs are resolved against. No resolution if empty.</param>
            <returns>The sanitized HTML Document.</returns>
        </member>
        <member name="M:Ganss.XSS.HtmlSanitizer.SanitizeDocument(System.String,System.String,AngleSharp.IMarkupFormatter)">
            <summary>
            Sanitizes the specified HTML document. Even if only a fragment is given, a whole document will be returned.
            </summary>
            <param name="html">The HTML document to sanitize.</param>
            <param name="baseUrl">The base URL relative URLs are resolved against. No resolution if empty.</param>
            <param name="outputFormatter">The formatter used to render the DOM. Using the <see cref="P:Ganss.XSS.HtmlSanitizer.OutputFormatter"/> if null.</param>
            <returns>The sanitized HTML document.</returns>
        </member>
        <member name="M:Ganss.XSS.HtmlSanitizer.SanitizeDocument(System.IO.Stream,System.String,AngleSharp.IMarkupFormatter)">
            <summary>
            Sanitizes the specified HTML document. Even if only a fragment is given, a whole document will be returned.
            </summary>
            <param name="html">The HTML document to sanitize.</param>
            <param name="baseUrl">The base URL relative URLs are resolved against. No resolution if empty.</param>
            <param name="outputFormatter">The formatter used to render the DOM. Using the <see cref="P:Ganss.XSS.HtmlSanitizer.OutputFormatter"/> if null.</param>
            <returns>The sanitized HTML document.</returns>
        </member>
        <member name="M:Ganss.XSS.HtmlSanitizer.CreateParser">
            <summary>
            Creeates an instance of <see cref="T:AngleSharp.Parser.Html.HtmlParser"/>.
            </summary>
            <returns>An instance of <see cref="T:AngleSharp.Parser.Html.HtmlParser"/>.</returns>
        </member>
        <member name="M:Ganss.XSS.HtmlSanitizer.RemoveComments(AngleSharp.Dom.IElement)">
            <summary>
            Removes all comment nodes from a list of nodes.
            </summary>
            <param name="context">The element within which to remove comments.</param>
            <returns><c>true</c> if any comments were removed; otherwise, <c>false</c>.</returns>
        </member>
        <member name="M:Ganss.XSS.HtmlSanitizer.DoPostProcess(AngleSharp.Dom.Html.IHtmlDocument,AngleSharp.Dom.IElement)">
            <summary>
            Performs post processing on all nodes in the document.
            </summary>
            <param name="dom">The HTML document.</param>
            <param name="context">The element within which to post process all nodes.</param>
        </member>
        <member name="M:Ganss.XSS.HtmlSanitizer.IsUriAttribute(AngleSharp.Dom.IAttr)">
            <summary>
            Determines whether the specified attribute can contain a URI.
            </summary>
            <param name="attribute">The attribute.</param>
            <returns><c>true</c> if the attribute can contain a URI; otherwise, <c>false</c>.</returns>
        </member>
        <member name="M:Ganss.XSS.HtmlSanitizer.IsAllowedTag(AngleSharp.Dom.IElement)">
            <summary>
            Determines whether the specified tag is allowed.
            </summary>
            <param name="tag">The tag.</param>
            <returns><c>true</c> if the tag is allowed; otherwise, <c>false</c>.</returns>
        </member>
        <member name="M:Ganss.XSS.HtmlSanitizer.IsAllowedAttribute(AngleSharp.Dom.IAttr)">
            <summary>
            Determines whether the specified attribute is allowed.
            </summary>
            <param name="attribute">The attribute.</param>
            <returns><c>true</c> if the attribute is allowed; otherwise, <c>false</c>.</returns>
        </member>
        <member name="M:Ganss.XSS.HtmlSanitizer.SanitizeStyle(AngleSharp.Dom.IElement,System.String)">
            <summary>
            Sanitizes the style.
            </summary>
            <param name="element">The element.</param>
            <param name="baseUrl">The base URL.</param>
        </member>
        <member name="M:Ganss.XSS.HtmlSanitizer.DecodeCss(System.String)">
            <summary>
            Decodes CSS unicode escapes and removes comments.
            </summary>
            <param name="css">The CSS string.</param>
            <returns>The decoded CSS string.</returns>
        </member>
        <member name="M:Ganss.XSS.HtmlSanitizer.GetSafeIri(System.String)">
            <summary>
            Tries to create a safe <see cref="T:Ganss.XSS.Iri"/> object from a string.
            </summary>
            <param name="url">The URL.</param>
            <returns>The <see cref="T:Ganss.XSS.Iri"/> object or null if no safe <see cref="T:Ganss.XSS.Iri"/> can be created.</returns>
        </member>
        <member name="M:Ganss.XSS.HtmlSanitizer.SanitizeUrl(System.String,System.String)">
            <summary>
            Sanitizes a URL.
            </summary>
            <param name="url">The URL.</param>
            <param name="baseUrl">The base URL relative URLs are resolved against (empty or null for no resolution).</param>
            <returns>The sanitized URL or null if no safe URL can be created.</returns>
        </member>
        <member name="M:Ganss.XSS.HtmlSanitizer.RemoveTag(AngleSharp.Dom.IElement,Ganss.XSS.RemoveReason)">
            <summary>
            Removes a tag from the document.
            </summary>
            <param name="tag">Tag to be removed</param>
            <param name="reason">Reason for removal</param>
        </member>
        <member name="M:Ganss.XSS.HtmlSanitizer.RemoveAttribute(AngleSharp.Dom.IElement,AngleSharp.Dom.IAttr,Ganss.XSS.RemoveReason)">
            <summary>
            Removes an attribute from the document.
            </summary>
            <param name="tag">Tag the attribute belongs to</param>
            <param name="attribute">Attribute to be removed</param>
            <param name="reason">Reason for removal</param>
        </member>
        <member name="M:Ganss.XSS.HtmlSanitizer.RemoveStyle(AngleSharp.Dom.IElement,AngleSharp.Dom.Css.ICssStyleDeclaration,AngleSharp.Dom.Css.ICssProperty,Ganss.XSS.RemoveReason)">
            <summary>
            Removes a style from the document.
            </summary>
            <param name="tag">Tag the style belongs to</param>
            <param name="styles">Style rule that contains the style to be removed</param>
            <param name="style">Style to be removed</param>
            <param name="reason">Reason for removal</param>
        </member>
        <member name="M:Ganss.XSS.HtmlSanitizer.RemoveAtRule(AngleSharp.Dom.IElement,AngleSharp.Dom.Css.ICssRule)">
            <summary>
            Removes an at-rule from the document.
            </summary>
            <param name="tag">Tag the style belongs to</param>
            <param name="rule">Rule to be removed</param>
            <returns>true, if the rule can be removed; false, otherwise.</returns>
        </member>
        <member name="M:Ganss.XSS.HtmlSanitizer.RemoveCssClass(AngleSharp.Dom.IElement,System.String,Ganss.XSS.RemoveReason)">
            <summary>
            Removes a CSS class from a class attribute.
            </summary>
            <param name="tag">Tag the style belongs to</param>
            <param name="cssClass">Class to be removed</param>
            <param name="reason">Reason for removal</param>
        </member>
        <member name="T:Ganss.XSS.IHtmlSanitizer">
            <summary>
            Enables an inheriting class to implement an HtmlSanitizer class, which cleans HTML documents and fragments
            from constructs that can lead to <a href="https://en.wikipedia.org/wiki/Cross-site_scripting">XSS attacks</a>.
            </summary>
        </member>
        <member name="P:Ganss.XSS.IHtmlSanitizer.KeepChildNodes">
            <summary>
            Gets or sets a value indicating whether to keep child nodes of elements that are removed.
            </summary>
        </member>
        <member name="P:Ganss.XSS.IHtmlSanitizer.HtmlParserFactory">
            <summary>
            Gets or sets the <see cref="T:System.Func`1"/> object the creates the parser used for parsing the input.
            </summary>
        </member>
        <member name="P:Ganss.XSS.IHtmlSanitizer.OutputFormatter">
            <summary>
            Gets or sets the <see cref="T:AngleSharp.IMarkupFormatter"/> object used for generating output.
            </summary>
        </member>
        <member name="P:Ganss.XSS.IHtmlSanitizer.AllowedAtRules">
            <summary>
            Gets or sets the allowed CSS at-rules such as "@media" and "@font-face".
            </summary>
            <value>
            The allowed CSS at-rules.
            </value>
        </member>
        <member name="P:Ganss.XSS.IHtmlSanitizer.AllowedSchemes">
            <summary>
            Gets or sets the allowed HTTP schemes such as "http" and "https".
            </summary>
            <value>
            The allowed HTTP schemes.
            </value>
        </member>
        <member name="P:Ganss.XSS.IHtmlSanitizer.AllowedTags">
            <summary>
            Gets or sets the allowed HTML tag names such as "a" and "div".
            </summary>
            <value>
            The allowed tag names.
            </value>
        </member>
        <member name="P:Ganss.XSS.IHtmlSanitizer.AllowedAttributes">
            <summary>
            Gets or sets the allowed HTML attributes such as "href" and "alt".
            </summary>
            <value>
            The allowed HTML attributes.
            </value>
        </member>
        <member name="P:Ganss.XSS.IHtmlSanitizer.AllowDataAttributes">
            <summary>
            Allow all HTML5 data attributes; the attributes prefixed with data-
            </summary>
        </member>
        <member name="P:Ganss.XSS.IHtmlSanitizer.UriAttributes">
            <summary>
            Gets or sets the HTML attributes that can contain a URI such as "href".
            </summary>
            <value>
            The URI attributes.
            </value>
        </member>
        <member name="P:Ganss.XSS.IHtmlSanitizer.AllowedCssProperties">
            <summary>
            Gets or sets the allowed CSS properties such as "font" and "margin".
            </summary>
            <value>
            The allowed CSS properties.
            </value>
        </member>
        <member name="P:Ganss.XSS.IHtmlSanitizer.DisallowCssPropertyValue">
            <summary>
            Gets or sets a regex that must not match for legal CSS property values.
            </summary>
            <value>
            The regex.
            </value>
        </member>
        <member name="P:Ganss.XSS.IHtmlSanitizer.AllowedCssClasses">
            <summary>
            Gets or sets the allowed CSS classes.
            </summary>
            <value>
            The allowed CSS classes.
            </value>
        </member>
        <member name="E:Ganss.XSS.IHtmlSanitizer.PostProcessDom">
            <summary>
            Occurs after sanitizing the document and post processing nodes.
            </summary>
        </member>
        <member name="E:Ganss.XSS.IHtmlSanitizer.PostProcessNode">
            <summary>
            Occurs for every node after sanitizing.
            </summary>
        </member>
        <member name="E:Ganss.XSS.IHtmlSanitizer.RemovingTag">
            <summary>
            Occurs before a tag is removed.
            </summary>
        </member>
        <member name="E:Ganss.XSS.IHtmlSanitizer.RemovingAttribute">
            <summary>
            Occurs before an attribute is removed.
            </summary>
        </member>
        <member name="E:Ganss.XSS.IHtmlSanitizer.RemovingStyle">
            <summary>
            Occurs before a style is removed.
            </summary>
        </member>
        <member name="E:Ganss.XSS.IHtmlSanitizer.RemovingAtRule">
            <summary>
            Occurs before an at-rule is removed.
            </summary>
        </member>
        <member name="E:Ganss.XSS.IHtmlSanitizer.RemovingComment">
            <summary>
            Occurs before a comment is removed.
            </summary>
        </member>
        <member name="E:Ganss.XSS.IHtmlSanitizer.RemovingCssClass">
            <summary>
            Occurs before a CSS class is removed.
            </summary>
        </member>
        <member name="M:Ganss.XSS.IHtmlSanitizer.Sanitize(System.String,System.String,AngleSharp.IMarkupFormatter)">
            <summary>
            Sanitizes the specified HTML.
            </summary>
            <param name="html">The HTML to sanitize.</param>
            <param name="baseUrl">The base URL relative URLs are resolved against. No resolution if empty.</param>
            <param name="outputFormatter">The formatter used to render the DOM. Using the default formatter if null.</param>
            <returns>The sanitized HTML.</returns>
        </member>
        <member name="M:Ganss.XSS.IHtmlSanitizer.SanitizeDom(System.String,System.String)">
            <summary>
            Sanitizes the specified HTML body fragment. If a document is given, only the body part will be returned.
            </summary>
            <param name="html">The HTML body fragment to sanitize.</param>
            <param name="baseUrl">The base URL relative URLs are resolved against. No resolution if empty.</param>
            <returns>The sanitized HTML Document.</returns>
        </member>
        <member name="M:Ganss.XSS.IHtmlSanitizer.SanitizeDocument(System.String,System.String,AngleSharp.IMarkupFormatter)">
            <summary>
            Sanitizes the specified HTML document. Even if only a fragment is given, a whole document will be returned.
            </summary>
            <param name="html">The HTML document to sanitize.</param>
            <param name="baseUrl">The base URL relative URLs are resolved against. No resolution if empty.</param>
            <param name="outputFormatter">The formatter used to render the DOM. Using the <see cref="P:Ganss.XSS.IHtmlSanitizer.OutputFormatter"/> if null.</param>
            <returns>The sanitized HTML document.</returns>
        </member>
        <member name="T:Ganss.XSS.Iri">
            <summary>
            Represents an Internationalized Resource Identifier
            </summary>
        </member>
        <member name="P:Ganss.XSS.Iri.Value">
            <summary>
            Gets or sets the value of the IRI.
            </summary>
            <value>
            The value of the IRI.
            </value>
        </member>
        <member name="P:Ganss.XSS.Iri.IsAbsolute">
            <summary>
            Gets a value indicating whether the IRI is absolute.
            </summary>
            <value>
              <c>true</c> if the IRI is absolute; otherwise, <c>false</c>.
            </value>
        </member>
        <member name="P:Ganss.XSS.Iri.Scheme">
            <summary>
            Gets or sets the scheme of the IRI, e.g. http.
            </summary>
            <value>
            The scheme of the IRI.
            </value>
        </member>
        <member name="T:Ganss.XSS.RemoveReason">
            <summary>
            List of reasons why something was identified to get removed from the HTML
            </summary>
        </member>
        <member name="F:Ganss.XSS.RemoveReason.NotAllowedTag">
            <summary>
            Tag is not allowed
            </summary>
        </member>
        <member name="F:Ganss.XSS.RemoveReason.NotAllowedAttribute">
            <summary>
            Attribute is not allowed
            </summary>
        </member>
        <member name="F:Ganss.XSS.RemoveReason.NotAllowedStyle">
            <summary>
            Style is not allowed
            </summary>
        </member>
        <member name="F:Ganss.XSS.RemoveReason.NotAllowedUrlValue">
            <summary>
            Value is a non-allowed or harmful url
            </summary>
        </member>
        <member name="F:Ganss.XSS.RemoveReason.NotAllowedValue">
            <summary>
            Value is not allowed or harmful
            </summary>
        </member>
        <member name="F:Ganss.XSS.RemoveReason.NotAllowedCssClass">
            <summary>
            CSS Class is not allowed
            </summary>
        </member>
        <member name="F:Ganss.XSS.RemoveReason.ClassAttributeEmpty">
            <summary>
            The class attribute is empty
            </summary>
        </member>
        <member name="F:Ganss.XSS.RemoveReason.StyleAttributeEmpty">
            <summary>
            The style attribute is empty
            </summary>
        </member>
    </members>
</doc>
