Added a class to the new "Alt...".

This commit is contained in:
default 2024-05-30 16:14:56 +02:00
parent a5ec96a6da
commit b8633c7c59

1
html.c
View file

@ -1911,6 +1911,7 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only,
if (name != NULL && *name) { if (name != NULL && *name) {
xs_html_add(content_attachments, xs_html_add(content_attachments,
xs_html_tag("p", xs_html_tag("p",
xs_html_attr("class", "snac-alt-text"),
xs_html_tag("details", xs_html_tag("details",
xs_html_tag("summary", xs_html_tag("summary",
xs_html_text(L("Alt..."))), xs_html_text(L("Alt..."))),