diff options
| author | 2022-11-16 17:49:33 +0100 | |
|---|---|---|
| committer | 2022-11-16 17:49:33 +0100 | |
| commit | 4304f7301cdd9e111cd3936d4129e333a7612c82 (patch) | |
| tree | 5b95525b9e3d99ed241ea584314eb898f0f21ba4 | |
| parent | More sanitize tweaks. (diff) | |
| download | penes-snac2-4304f7301cdd9e111cd3936d4129e333a7612c82.tar.gz penes-snac2-4304f7301cdd9e111cd3936d4129e333a7612c82.tar.xz penes-snac2-4304f7301cdd9e111cd3936d4129e333a7612c82.zip | |
Fixed typo.
| -rw-r--r-- | format.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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 */ |