Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
akurilov committed Nov 16, 2023
1 parent ca8c300 commit 1c6257b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions service/messages/format.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ func (f Format) convert(evt *pb.CloudEvent, subDescr string, mode FormatMode, tr
if attrsTxt != "" {
switch mode {
case FormatModeHtml:
txt += fmt.Sprintf("\n<span class=\"tg-spoiler\">%s</span>\n", attrsTxt)
txt += fmt.Sprintf("<span class=\"tg-spoiler\">%s</span>\n", attrsTxt)
default:
txt += fmt.Sprintf("\n%s\n", attrsTxt)
txt += fmt.Sprintf("%s\n", attrsTxt)
}
}
return
Expand Down

0 comments on commit 1c6257b

Please sign in to comment.