diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-02-28 20:13:06 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-02-28 20:13:06 +0000 |
commit | 253af51ade9f0c1525a5f7f3ac3c074524a1b7c3 (patch) | |
tree | f83d14970fe29b701b6847f69d11c28cfa4db1a6 /mdocterm.c | |
parent | 2df248c6ce60c428883b2fa11fdde63dd091d8a4 (diff) | |
download | mandoc-253af51ade9f0c1525a5f7f3ac3c074524a1b7c3.tar.gz |
More fixes (hard-escapes, etc.).
Diffstat (limited to 'mdocterm.c')
-rw-r--r-- | mdocterm.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -554,7 +554,14 @@ word(struct termp *p, const char *word) if ( ! xisspace(word[i])) { j++; continue; + } + + /* Escaped spaces don't delimit... */ + if (i > 0 && xisspace(word[i]) && '\\' == word[i - 1]) { + j++; + continue; } + if (0 == j) continue; assert(i >= j); |