C# Class CsQuery.Output.HtmlEncoderMinimumNbsp

Minimum HTML encoder (including nonbreaking space). This only parses the absolute minimum required for correct interpretation (less-than, greater-than, ampersand), plus non-breaking space. Everthing else is passed through.
Inheritance: HtmlEncoderMinimum
Mostrar archivo Open project: prepare/HTML-Renderer

Protected Methods

Method Description
TryEncode ( char c, string &encoded ) : bool

Determines of a character must be encoded; if so, encodes it as the output parameter and returns true; if not, returns false.

Method Details

TryEncode() protected method

Determines of a character must be encoded; if so, encodes it as the output parameter and returns true; if not, returns false.
protected TryEncode ( char c, string &encoded ) : bool
c char /// The text string to encode. ///
encoded string /// [out] The encoded string. ///
return bool