From 84edf714f72e880f6a3a23f35a0738e33d5076cd Mon Sep 17 00:00:00 2001 From: Daniele Tonon Date: Fri, 17 Nov 2023 10:05:14 +0100 Subject: [PATCH] Render inline parent note and mentions in RSS --- data.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/data.go b/data.go index 542637c..6629cc8 100644 --- a/data.go +++ b/data.go @@ -79,11 +79,11 @@ func (ee EnhancedEvent) RssContent() string { content := ee.event.Content if ee.IsReply() { nevent, _ := nip19.EncodeEvent(ee.Reply().Value(), ee.relays, ee.event.PubKey) - content = "In reply to nostr:" + nevent + "\n_________________________\n\n" + content + content = content + "\n\n____________________\nIn reply to nostr:" + nevent } content = basicFormatting(html.EscapeString(content), true, false) - // content = renderQuotesAsHTML(context.Background(), content, false) - content = linkQuotes(content) + content = renderQuotesAsHTML(context.Background(), content, false) + // content = linkQuotes(content) return content }