diff --git a/formatter_tag.go b/formatter_tag.go index b1744c5..ff76600 100644 --- a/formatter_tag.go +++ b/formatter_tag.go @@ -309,7 +309,7 @@ func (r *discordTagHTMLRenderer) renderDiscordMention(w util.BufWriter, source [ const fullDatetimeFormat = "2006-01-02T15:04:05.000-0700" fullRFC := ts.Format(fullDatetimeFormat) fullHumanReadable := ts.Format(discordTimestampStyle('F').Format()) - _, _ = fmt.Fprintf(w, ``, fullHumanReadable, fullRFC, formatted) + _, _ = fmt.Fprintf(w, ``, fullHumanReadable, fullRFC, node.style, formatted) } stringifiable, ok := n.(fmt.Stringer) if ok {