commit 4f6a2b82db0e45515ef5745521ffb5f6cc95e866
Author: Wim <wim@42.be>
Date: Thu Nov 08 00:35:30 2018 +0000
diff --git a/bridge/telegram/html.go b/bridge/telegram/html.go
index 35b3f4f..12d6d0c 100644
--- a/bridge/telegram/html.go
+++ b/bridge/telegram/html.go
@@ -36 +37 @@ package btelegram
import (
"bytes"
"html"
+ "io"
"github.com/russross/blackfriday"
)
@@ -327 +337 @@ func (options *customHTML) Header(out *bytes.Buffer, text func() bool, level int
options.Paragraph(out, text)
}
-func (options *customHTML) HRule(out *bytes.Buffer) {
+func (options *customHTML) HRule(out io.ByteWriter) {
out.WriteByte('\n')
}