=================================================================== RCS file: /cvs/pod2mdoc/pod2mdoc.c,v retrieving revision 1.50 retrieving revision 1.51 diff -u -p -r1.50 -r1.51 --- pod2mdoc/pod2mdoc.c 2015/02/19 11:05:24 1.50 +++ pod2mdoc/pod2mdoc.c 2015/02/19 11:09:44 1.51 @@ -1,4 +1,4 @@ -/* $Id: pod2mdoc.c,v 1.50 2015/02/19 11:05:24 schwarze Exp $ */ +/* $Id: pod2mdoc.c,v 1.51 2015/02/19 11:09:44 schwarze Exp $ */ /* * Copyright (c) 2014 Kristaps Dzonsons * Copyright (c) 2014, 2015 Ingo Schwarze @@ -1532,12 +1532,11 @@ ordinary(struct state *st, const char *buf, size_t sta * XXX Some punctuation characters * are not handled yet. */ - if ((start == end - 1 || - (start < end - 1 && - (' ' == buf[start + 1] || - '\n' == buf[start + 1]))) && - ('.' == buf[start] || - ',' == buf[start])) { + if ((start == end - 1 || + (start < end - 1 && + (' ' == buf[start + 1] || + '\n' == buf[start + 1]))) && + NULL != strchr("|.,;:?!)]", buf[start])) { putchar(' '); putchar(buf[start++]); }