Skip to content

Commit

Permalink
fix plaintext
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadowJonathan committed Jan 31, 2024
1 parent 3670d11 commit b652344
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 @@ -60,6 +60,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 b652344

Please sign in to comment.