scribo

Email-based phlog generator
git clone git://git.z3bra.org/scribo.git
Log | Files | Refs

commit 9d0eccfdc749b8243559903f6486188b4c8e4782
parent d09787997bb6279189f3c39ef921ff2c1853a74d
Author: Willy Goiffon <dev@z3bra.org>
Date:   Tue,  8 Sep 2020 15:37:48 +0200

Replace WSP by "-" instead of "_"

Diffstat:
Mscribo.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scribo.c b/scribo.c @@ -59,8 +59,9 @@ sanitize(const char *s) case '.': *(w++) = *p; break; + case '\t': case ' ': - *(w++) = '_'; + *(w++) = '-'; break; default: if (isalnum(*p))