From 4304f7301cdd9e111cd3936d4129e333a7612c82 Mon Sep 17 00:00:00 2001 From: default Date: Wed, 16 Nov 2022 17:49:33 +0100 Subject: [PATCH] Fixed typo. --- format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/format.c b/format.c index 42878a0..e9863dd 100644 --- a/format.c +++ b/format.c @@ -200,7 +200,7 @@ d_char *sanitize(const char *content) xs *s3 = xs_join(el, " "); s2 = xs_fmt("<%s%s%s%s>", - v[1] == '/' ? "/" : "", tag, xs_list_len(s3) ? " " : "", s3); + v[1] == '/' ? "/" : "", tag, xs_list_len(el) ? " " : "", s3); } else { /* bad tag: escape it */