public HtmlWriter(TextWriter writer, string indentString, int maxLineLength) { _baseWriter = writer; _maxLineLength = maxLineLength; _writer = new FormattedTextWriter(_baseWriter, indentString); }
public virtual void WriteLiteral(string s, bool frontWhiteSpace) { _writer.WriteLiteralWrapped(FormattedTextWriter.Trim(s, frontWhiteSpace), _maxLineLength); }