mirror of
https://github.com/yunginnanet/HellPot
synced 2024-06-30 01:30:53 +00:00
fix plaintext
This commit is contained in:
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 {
|
||||
|
Loading…
Reference in New Issue
Block a user