summaryrefslogtreecommitdiffstats
path: root/out.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-08-24 13:07:01 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-08-24 13:07:01 +0000
commit600f607aef5b555ce32a82f81cefbe0ecdf8b6b1 (patch)
tree514470ecf651c908e207da8e1f229ce943e06fbc /out.c
parent66d75094ce5444c76b0a0e54353e0043d11e8e04 (diff)
downloadmandoc-600f607aef5b555ce32a82f81cefbe0ecdf8b6b1.tar.gz
Stripping out of `\w' groff escape. Yet another for pod2man...
Diffstat (limited to 'out.c')
-rw-r--r--out.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/out.c b/out.c
index fa3049e0..7ec42e68 100644
--- a/out.c
+++ b/out.c
@@ -293,6 +293,12 @@ a2roffdeco(enum roffdeco *d, const char **word, size_t *sz)
} else
lim = 1;
break;
+ case ('w'):
+ if ('\'' == wp[i++]) {
+ term = '\'';
+ break;
+ }
+ /* FALLTHROUGH */
default:
*d = DECO_SSPECIAL;
i--;