Gets or sets whether the converter should remove HTML comments from the output.
Gets or sets whether undesirable tags should be stripped from the output.
This is an incomplete solution for protecting against Cross-Site Scripting (XSS) attacks and should not be relied upon as a comprehensive security measure. It only removes certain known dangerous or undesirable HTML tags and does not validate attribute values, filter event handler attributes, sanitize inline CSS, or protect against newly discovered XSS techniques. For robust XSS protection, pass the HTML output through a dedicated sanitizer library.
Gets or sets the footer format.
Gets or sets the header format.
Gets or sets the callback used for custom filtering of HTML tags and content.
Gets or sets whether byte input encoding is detected from the byte order mark or determined by inputEncoding.
Gets or sets text prepended to the beginning of the output.
The header must be set before conversion begins.
Gets or sets text appended to the end of the output.
The footer must be set before conversion begins.
The input format.
The output format.
Converts the text from the input format to the output format and writes the result.
The text to convert.
The text writer.
ProtecteddecodeConverts source text from the input format to the output format and writes the result.
The source text, bytes, or stream.
The text writer.
Converts text from the input format to the output format.
The text, bytes, or stream to convert.
The converted text.
An HTML to HTML converter.
Used to convert HTML into HTML.