mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-15 14:16:29 +00:00
commands: Remove extraneous newline from result of convert toTOML
Fixes #10351
This commit is contained in:
1 parent
e3f31352d4
commit
b002d47953
1 file changed
+1
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user