func (e *action) WriteTo(w io.Writer) (int64, error) {
	var bf bytes.Buffer

	// Write the action
	bf.WriteString(strings.TrimSpace(e.ln.str))

	// Write the children's HTML.
	if i, err := e.writeChildren(&bf); err != nil {
		return i, err
	}

	// Write the buffer.
	i, err := w.Write(bf.Bytes())

	return int64(i), err

}
func (e *action) WriteTo(w io.Writer) (int64, error) {
	var bf bytes.Buffer

	
	bf.WriteString(strings.TrimSpace(e.ln.str))

	
	if i, err := e.writeChildren(&bf); err != nil {
		return i, err
	}

	
	i, err := w.Write(bf.Bytes())

	return int64(i), err

}
func ( e * action ) WriteTo ( w io . Writer ) ( int64 , error ) { var bf bytes . Buffer // Write the action bf . WriteString ( strings . TrimSpace ( e . ln . str ) ) // Write the children's HTML. if i , err := e . writeChildren ( & bf ) ; err != nil { return i , err } // Write the buffer. i , err := w . Write ( bf . Bytes ( ) ) return int64 ( i ) , err }
// WriteTo writes data to w.
WriteTo writes data to w .