Package
#n Wyam.Html
Usage
-
HtmlEscape()Escapes HTML content with predefined escape sequences.
Fluent Methods
Chain these methods together after the constructor to modify behavior.
-
EscapeAllNonstandard()Escapes all nonstandard characters (standard characters are defined with the
WithDefaultStandard()orWithStandard()methods). -
WithDefaultStandard()Defines a standard set of characters as 0-9, a-z, A-Z, newlines, and space. Use with the
EscapeAllNonstandard()method to whitelist this default set of characters. -
WithEscapedChar(params char[] toEscape)Defines additional characters to escape.
toEscapeThe additional characters to escape.
-
WithStandard(params char[] standard)Defines a custom set of standard characters to use with the
EscapeAllNonstandard()method.standardThe standard set of characters to use.
