Fixed typo.

This commit is contained in:
default 2022-11-16 17:49:33 +01:00
parent 206dd52275
commit 4304f7301c

View File

@ -200,7 +200,7 @@ d_char *sanitize(const char *content)
xs *s3 = xs_join(el, " "); xs *s3 = xs_join(el, " ");
s2 = xs_fmt("<%s%s%s%s>", s2 = xs_fmt("<%s%s%s%s>",
v[1] == '/' ? "/" : "", tag, xs_list_len(s3) ? " " : "", s3); v[1] == '/' ? "/" : "", tag, xs_list_len(el) ? " " : "", s3);
} }
else { else {
/* bad tag: escape it */ /* bad tag: escape it */