fix plaintext

This commit is contained in:
Jonathan de Jong 2024-01-31 16:22:13 +01:00
parent e016fba507
commit 54e492c21c
1 changed files with 3 additions and 0 deletions

View File

@ -65,6 +65,9 @@ func (h *Heffalump) WriteHell(bw *bufio.Writer, cType ContentType) (int64, error
switch cType {
case PlainText:
if _, err = bw.WriteString("# Chapter 1\n"); err != nil {
return n, err
}
break
case HTML:
if _, err = bw.WriteString("<html>\n<body>\n"); err != nil {