1
4
mirror of https://github.com/yunginnanet/HellPot synced 2024-06-30 01:30:53 +00:00

fix plaintext

This commit is contained in:
Jonathan de Jong 2024-01-31 16:22:13 +01:00
parent e016fba507
commit 54e492c21c

@ -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 {