Browse Source

Url gets its own paragraph in notification post (#3196)

Co-authored-by: janWilejan <>
pull/3192/head
janWilejan 2 years ago committed by GitHub
parent
commit
42c176f783
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      activitypub/outbox/outbox.go

2
activitypub/outbox/outbox.go

@ -60,7 +60,7 @@ func SendLive() error { @@ -60,7 +60,7 @@ func SendLive() error {
if title := data.GetStreamTitle(); title != "" {
streamTitle = fmt.Sprintf("<p>%s</p>", title)
}
textContent = fmt.Sprintf("<p>%s</p>%s<p>%s</p><a href=\"%s\">%s</a>", textContent, streamTitle, tagsString, data.GetServerURL(), data.GetServerURL())
textContent = fmt.Sprintf("<p>%s</p>%s<p>%s</p><p><a href=\"%s\">%s</a></p>", textContent, streamTitle, tagsString, data.GetServerURL(), data.GetServerURL())
activity, _, note, noteID := createBaseOutboundMessage(textContent)

Loading…
Cancel
Save