commit 74cd356
default
·
2025-01-08 19:06:17 +0000 UTC
parent 935a0a5
Deleted useless check.
1 files changed,
+1,
-1
M
html.c
M
html.c
+1,
-1
1@@ -2209,7 +2209,7 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only,
2 if (xs_type(o_href) == XSTYPE_STRING) {
3 xs *href = xs_utf8_to_lower(o_href);
4
5- if (xs_type(href) == XSTYPE_STRING && xs_str_in(content, href) == -1) {
6+ if (xs_str_in(content, href) == -1) {
7 /* not in the content: add here */
8 const char *name = xs_dict_get(tag, "name");
9