all repos — flounder @ f37b2e8dc4ee0c6517969b7d5df9b16cf318cbd6

A small site builder for the Gemini protocol

fix newlines in RSS feed
Bi-Rabittoh andronacomarco@gmail.com
Sun, 02 May 2021 17:00:27 +0200
commit

f37b2e8dc4ee0c6517969b7d5df9b16cf318cbd6

parent

6a7b6fae75917385dc8a2cf6c9485f7ecdba78a3

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M gemfeed.gogemfeed.go

@@ -110,7 +110,7 @@ content, err := ioutil.ReadFile(thepath)

if err != nil { return nil } - entry.Content = string(content) + entry.Content = "<pre>" + string(content) + "</pre>" entry.File = getLocalPath(thepath) u := urlFromPath(thepath) entry.Url = &u