summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-11-16 17:49:33 +0100
committerdefault <nobody@localhost>2022-11-16 17:49:33 +0100
commit4304f7301cdd9e111cd3936d4129e333a7612c82 (patch)
tree5b95525b9e3d99ed241ea584314eb898f0f21ba4
parent206dd52275163e197cfa400aa784f7bcf312e9fc (diff)
Fixed typo.
-rw-r--r--format.c2
1 files changed, 1 insertions, 1 deletions
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 */