fix nip23 articles html titles.

This commit is contained in:
fiatjaf
2025-02-23 07:26:42 -03:00
parent 9b7f96200e
commit 05f2bbbc01

View File

@@ -400,7 +400,7 @@ func renderEvent(w http.ResponseWriter, r *http.Request) {
Details: detailsData,
Content: template.HTML(data.content),
Cover: data.cover,
TitleizedContent: titleizedContent,
TitleizedContent: data.event.subject, // we store the "title" tag here too
}
component = noteTemplate(params, isEmbed)