mirror of
https://github.com/aljazceru/njump.git
synced 2025-12-17 22:34:25 +01:00
Render inline parent note and mentions in RSS
This commit is contained in:
6
data.go
6
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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user