C# Class CsQuery.HtmlEncoders

Factory for HTML encoders included with CsQuery
Mostrar archivo Open project: prepare/HTML-Renderer

Public Properties

Property Type Description
Basic IHtmlEncoder
Full IHtmlEncoder
Minimum IHtmlEncoder
MinimumNbsp IHtmlEncoder
None IHtmlEncoder

Property Details

Basic public_oe static_oe property

The standard HTML encoder; encodes most entities, and any characters that are above ascii 160.
public static IHtmlEncoder Basic
return IHtmlEncoder

Full public_oe static_oe property

Full HTML encoding -- all entities mapped to their named (not numeric) entities when available.
public static IHtmlEncoder Full
return IHtmlEncoder

Minimum public_oe static_oe property

The minimum HTML encoder; only encodes left-caret, right-caret, and ampersand. All other characters are passed through.
public static IHtmlEncoder Minimum
return IHtmlEncoder

MinimumNbsp public_oe static_oe property

The same as the minimum HTML encoder, but also encodes nonbreaking space (ascii 160 becomes  ).
public static IHtmlEncoder MinimumNbsp
return IHtmlEncoder

None public_oe static_oe property

No HTML encoding -- all characters are passed through. Will likely produce invalid HTML.
public static IHtmlEncoder None
return IHtmlEncoder