Просмотр исходного кода

Added tittle text and class to custom emojis

green 1 год назад
Родитель
Сommit
128cc54608
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      html.c

+ 2 - 0
html.c

@@ -93,6 +93,8 @@ xs_str *replace_shortnames(xs_str *s, const xs_list *tag, int ems, const char *p
                                 xs_html_attr("loading", "lazy"),
                                 xs_html_attr("src", url),
                                 xs_html_attr("alt", n),
+                                xs_html_attr("title", n),
+                                xs_html_attr("class", "snac-emoji"),
                                 xs_html_attr("style", style));
 
                             xs *s1 = xs_html_render(img);