diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-07-22 14:03:50 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-07-22 14:03:50 +0000 |
commit | cb01f45cffcd88cbb79672cba03cc2856d4f5cb2 (patch) | |
tree | 89cd1391267b858a31b33ebb8fd656614d1a11b9 | |
parent | ec27c223d9975f7ea3d01a2a6ad864bbe4a96eb5 (diff) | |
download | mandoc-cb01f45cffcd88cbb79672cba03cc2856d4f5cb2.tar.gz |
Accept "\s0" (i.e., properly ignore it). Found in the wild (e.g., gfdl.7).
-rw-r--r-- | mandoc.c | 3 | ||||
-rw-r--r-- | out.c | 3 |
2 files changed, 6 insertions, 0 deletions
@@ -109,6 +109,9 @@ mandoc_special(char *p) case ('\''): term = '\''; break; + case ('0'): + i++; + /* FALLTHROUGH */ default: len = 1; p--; @@ -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; |