mirror of
https://github.com/aljazceru/njump.git
synced 2025-12-18 06:44:22 +01:00
Add an option to basicFormatting to skip links
SQUASH
This commit is contained in:
2
data.go
2
data.go
@@ -77,7 +77,7 @@ func (ee EnhancedEvent) RssTitle() string {
|
||||
|
||||
func (ee EnhancedEvent) RssContent() string {
|
||||
content := ee.event.Content
|
||||
content = basicFormatting(html.EscapeString(content), true, false)
|
||||
content = basicFormatting(html.EscapeString(content), true, false, false)
|
||||
content = renderQuotesAsHTML(context.Background(), content, false)
|
||||
if ee.IsReply() {
|
||||
nevent, _ := nip19.EncodeEvent(ee.Reply().Value(), ee.relays, ee.event.PubKey)
|
||||
|
||||
Reference in New Issue
Block a user