summaryrefslogtreecommitdiff
path: root/paste
diff options
context:
space:
mode:
authorKatolaZ <katolaz@freaknet.org>2017-07-03 14:11:02 +0100
committerKatolaZ <katolaz@freaknet.org>2017-07-03 14:11:02 +0100
commit8be60b1580de638d2c9151646cb42b78b5f229ae (patch)
tree921b2eea6ac8a08866bb0a84598acd02f0ff76f9 /paste
parent8585d8ea446a3aa3a39b21d3f96cfac9199a9c78 (diff)
Small fix in paste.Retireve() (wrong visualisation...)
Diffstat (limited to 'paste')
-rw-r--r--paste/paste.go2
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 {