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

Co-authored-by: janWilejan <>
This commit is contained in:
janWilejan
2023-07-21 14:34:07 -07:00
committed by GitHub
co-authored by janWilejan <>
parent 9e92ae46f3
commit 42c176f783
+1 -1
View File
@@ -60,7 +60,7 @@ func SendLive() error {
if title := data.GetStreamTitle(); title != "" { if title := data.GetStreamTitle(); title != "" {
streamTitle = fmt.Sprintf("<p>%s</p>", 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) activity, _, note, noteID := createBaseOutboundMessage(textContent)