diff options
author | KatolaZ <katolaz@freaknet.org> | 2017-07-03 14:11:02 +0100 |
---|---|---|
committer | KatolaZ <katolaz@freaknet.org> | 2017-07-03 14:11:02 +0100 |
commit | 8be60b1580de638d2c9151646cb42b78b5f229ae (patch) | |
tree | 921b2eea6ac8a08866bb0a84598acd02f0ff76f9 | |
parent | 8585d8ea446a3aa3a39b21d3f96cfac9199a9c78 (diff) |
Small fix in paste.Retireve() (wrong visualisation...)
-rw-r--r-- | paste/paste.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/paste.go b/paste/paste.go index a55a3b3..0848d0c 100644 --- a/paste/paste.go +++ b/paste/paste.go @@ -61,7 +61,7 @@ func Retrieve(URI string) (title, date, content string, err error) { stuff.Scan() date = strings.Trim(strings.Join(strings.Split(stuff.Text(), ":")[1:], ":"), " ") for stuff.Scan() { - content += stuff.Text() + content += stuff.Text() + "\n" } } else { |