Minor improvement on handling front matter

This commit is contained in:
Mike Farah 2021-11-16 16:34:39 +11:00
parent fb648ceb79
commit a804e7370f

View File

@ -79,7 +79,7 @@ func (f *frontMatterHandlerImpl) Split() error {
return errReading
}
_, errWriting := yamlTempFile.Write([]byte(line))
_, errWriting := yamlTempFile.WriteString(line)
if errWriting != nil {
return errWriting