summaryrefslogtreecommitdiffstats
path: root/out.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-07-22 14:03:50 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-07-22 14:03:50 +0000
commitcb01f45cffcd88cbb79672cba03cc2856d4f5cb2 (patch)
tree89cd1391267b858a31b33ebb8fd656614d1a11b9 /out.c
parentec27c223d9975f7ea3d01a2a6ad864bbe4a96eb5 (diff)
downloadmandoc-cb01f45cffcd88cbb79672cba03cc2856d4f5cb2.tar.gz
Accept "\s0" (i.e., properly ignore it). Found in the wild (e.g., gfdl.7).
Diffstat (limited to 'out.c')
-rw-r--r--out.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/out.c b/out.c
index ace17bb2..98436001 100644
--- a/out.c
+++ b/out.c
@@ -255,6 +255,9 @@ a2roffdeco(enum roffdeco *d, const char **word, size_t *sz)
case ('\''):
term = '\'';
break;
+ case ('0'):
+ j++;
+ /* FALLTHROUGH */
default:
i--;
lim = 1;