diff --git a/printer/printer.go b/printer/printer.go index d2312f9..c4912d8 100644 --- a/printer/printer.go +++ b/printer/printer.go @@ -43,8 +43,7 @@ func (p *Printer) SetState(s printerState) { func (p *Printer) Print(n node.Node) { _, isRoot := n.(*node.Root) _, isInlineHtml := n.(*stmt.InlineHtml) - _, isEcho := n.(*stmt.Echo) - if p.s == HtmlState && !isInlineHtml && !isRoot && !isEcho { + if p.s == HtmlState && !isInlineHtml && !isRoot { if n.GetFreeFloating().IsEmpty() { io.WriteString(p.w, "