public HtmlTypographer(string input, HtmlTypographerSettings settings, HtmlTypographerState state) { Precondition.Require(input, () => Error.ArgumentNull("input")); _input = new StringBuffer(input); _output = new StringBuilder(); _state = state ?? new HtmlTypographerState(); _settings = settings ?? new HtmlTypographerSettings(); }
public HtmlTypographer(string input, HtmlTypographerSettings settings) : this(input, settings, null) { }
/// <summary> /// Initializes a new instance of the /// <see cref="Radischevo.Wahha.Web.Text.HtmlProcessor"/> class. /// </summary> public HtmlProcessor() { _filter = new HtmlFilterSettings( HtmlFilteringMode.AllowByDefault); _typographics = new HtmlTypographerSettings(); }