From 0179262628cadd3ed402880a03f3d812f327feec Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Tue, 21 Apr 2020 22:20:42 +0200 Subject: Improved HTML creation --- internal/template/feed.tpl.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'internal/template/feed.tpl.go') diff --git a/internal/template/feed.tpl.go b/internal/template/feed.tpl.go index f6862d5..2bf07f3 100644 --- a/internal/template/feed.tpl.go +++ b/internal/template/feed.tpl.go @@ -40,9 +40,13 @@ const feedTpl = `{{- /*gotype:github.com/Necoro/feed2imap-go/internal/feed.feedi +{{with .Item.Description}} +
+ {{html .}} +{{end}} {{with .Item.Content}}
- {{.}} + {{html .}} {{end}} {{with .Item.Enclosures}} -- cgit v1.2.3-70-g09d2