From 1f83fa89d8585b1fa59df7a400157f8df93ff681 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Wed, 1 Nov 2023 16:38:49 +0100 Subject: Remove the ‘>’ prefix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The rationale was explained on the mailing list[1]. [1]: https://paste.thomasvoss.com/353 --- formatter/formatter.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'formatter/formatter.go') diff --git a/formatter/formatter.go b/formatter/formatter.go index 8bd1c4d..526de5a 100644 --- a/formatter/formatter.go +++ b/formatter/formatter.go @@ -35,10 +35,6 @@ func PrintAst(ast parser.AstNode) { printChildren(ast.Children) fmt.Printf("", ast.Text) } - - if ast.Newline { - fmt.Print("\n") - } case parser.Tagless: printChildren(ast.Children) case parser.TaglessTrim: -- cgit v1.2.3