Skip to content

Commit

Permalink
fix plaintext
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadowJonathan committed Apr 19, 2024
1 parent e016fba commit 54e492c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions heffalump/heffalump.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 54e492c

Please sign in to comment.