plain_text_inner.go
func (e *plainTextInner) WriteTo(w io.Writer) (int64, error) {
	s := ""

	if (e.parent.Base().ln.indent+1)*2 <= len(e.ln.str) {
		s = e.ln.str[(e.parent.Base().ln.indent+1)*2:]
	}

	if e.insertBr && !e.lastChild {
		s += htmlBr
	}

	i, err := w.Write([]byte(s + lf))

	return int64(i), err
}
func (e *plainTextInner) WriteTo(w io.Writer) (int64, error) {
	s := ""

	if (e.parent.Base().ln.indent+1)*2 <= len(e.ln.str) {
		s = e.ln.str[(e.parent.Base().ln.indent+1)*2:]
	}

	if e.insertBr && !e.lastChild {
		s += htmlBr
	}

	i, err := w.Write([]byte(s + lf))

	return int64(i), err
}
// WriteTo writes data to w.