summaryrefslogtreecommitdiff
path: root/format.c
diff options
context:
space:
mode:
authorGravatar default2022-11-16 17:49:33 +0100
committerGravatar default2022-11-16 17:49:33 +0100
commit4304f7301cdd9e111cd3936d4129e333a7612c82 (patch)
tree5b95525b9e3d99ed241ea584314eb898f0f21ba4 /format.c
parentMore sanitize tweaks. (diff)
downloadsnac2-4304f7301cdd9e111cd3936d4129e333a7612c82.tar.gz
snac2-4304f7301cdd9e111cd3936d4129e333a7612c82.tar.xz
snac2-4304f7301cdd9e111cd3936d4129e333a7612c82.zip
Fixed typo.
Diffstat (limited to 'format.c')
-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)
200 xs *s3 = xs_join(el, " "); 200 xs *s3 = xs_join(el, " ");
201 201
202 s2 = xs_fmt("<%s%s%s%s>", 202 s2 = xs_fmt("<%s%s%s%s>",
203 v[1] == '/' ? "/" : "", tag, xs_list_len(s3) ? " " : "", s3); 203 v[1] == '/' ? "/" : "", tag, xs_list_len(el) ? " " : "", s3);
204 } 204 }
205 else { 205 else {
206 /* bad tag: escape it */ 206 /* bad tag: escape it */