snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit 4304f7301cdd9e111cd3936d4129e333a7612c82
parent 206dd52275163e197cfa400aa784f7bcf312e9fc
Author: default <nobody@localhost>
Date:   Wed, 16 Nov 2022 17:49:33 +0100

Fixed typo.

Diffstat:
Mformat.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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 */