diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-11-01 16:38:49 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-11-01 16:38:49 +0100 |
commit | 1f83fa89d8585b1fa59df7a400157f8df93ff681 (patch) | |
tree | dc80afa3ea2f17f76705e7a4b695f41386320845 /formatter/formatter.go | |
parent | eced3e62c922ee121429759eaa5d4956eb17085d (diff) |
Remove the ‘>’ prefixv3.0.0
The rationale was explained on the mailing list[1].
[1]: https://paste.thomasvoss.com/353
Diffstat (limited to 'formatter/formatter.go')
-rw-r--r-- | formatter/formatter.go | 4 |
1 files changed, 0 insertions, 4 deletions
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("</%s>", ast.Text) } - - if ast.Newline { - fmt.Print("\n") - } case parser.Tagless: printChildren(ast.Children) case parser.TaglessTrim: |