diff options
Diffstat (limited to 'bridge')
-rw-r--r-- | bridge/telegram/html.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bridge/telegram/html.go b/bridge/telegram/html.go index 35b3f4f9..12d6d0c6 100644 --- a/bridge/telegram/html.go +++ b/bridge/telegram/html.go @@ -3,6 +3,7 @@ package btelegram import ( "bytes" "html" + "io" "github.com/russross/blackfriday" ) @@ -32,7 +33,7 @@ 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') } |