mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-22 13:25:04 +00:00
Fixed typo.
This commit is contained in:
parent
206dd52275
commit
4304f7301c
1 changed files with 1 additions and 1 deletions
2
format.c
2
format.c
|
@ -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 */
|
||||||
|
|
Loading…
Reference in a new issue