diff options
author | Joe Mooring <[email protected]> | 2022-10-03 17:25:38 -0700 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2022-10-04 09:28:34 +0200 |
commit | b002d47953e341b6c84e39001d312bd95a3b5078 (patch) | |
tree | 2a9526f74479c228e3dc8a6adeaa887e22b7bc1d /parser | |
parent | e3f31352d4ae650d9ec177bedaf0d478a7374cf8 (diff) | |
download | hugo-b002d47953e341b6c84e39001d312bd95a3b5078.tar.gz hugo-b002d47953e341b6c84e39001d312bd95a3b5078.zip |
commands: Remove extraneous newline from result of convert toTOML
Fixes #10351
Diffstat (limited to 'parser')
-rw-r--r-- | parser/frontmatter.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/parser/frontmatter.go b/parser/frontmatter.go index 150ce038f..ced8b84fc 100644 --- a/parser/frontmatter.go +++ b/parser/frontmatter.go @@ -109,7 +109,7 @@ func InterfaceToFrontMatter(in any, format metadecoders.Format, w io.Writer) err return err } - _, err = w.Write([]byte("\n" + tomlDelimLf)) + _, err = w.Write([]byte(tomlDelimLf)) return err default: |