diff --git a/Dockerfile b/Dockerfile index 8d880ab1..39fe4f8e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build go-neb -FROM golang:1.18-alpine as builder +FROM golang:1.19-alpine as builder RUN apk add --no-cache -t build-deps git gcc musl-dev go make g++ diff --git a/services/rssbot/rssbot.go b/services/rssbot/rssbot.go index d7e34724..4d876bea 100644 --- a/services/rssbot/rssbot.go +++ b/services/rssbot/rssbot.go @@ -442,6 +442,11 @@ func itemToHTML(feed *gofeed.Feed, item gofeed.Item) mevt.MessageEventContent { html.EscapeString(item.Author.Email)) } } + + if item.Description != "" { + fmtBody += fmt.Sprintf("
%s", html.EscapeString(item.Description)) + } + return mevt.MessageEventContent{ Body: fmt.Sprintf("%s: %s ( %s )", html.EscapeString(feed.Title), html.EscapeString(itemTitle), html.EscapeString(item.Link)),