summaryrefslogtreecommitdiffstats
path: root/mandoc.c
diff options
context:
space:
mode:
Diffstat (limited to 'mandoc.c')
-rw-r--r--mandoc.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/mandoc.c b/mandoc.c
index 24e3d554..cd12a966 100644
--- a/mandoc.c
+++ b/mandoc.c
@@ -171,6 +171,13 @@ mandoc_special(char *p)
case ('['):
term = ']';
break;
+ case ('z'):
+ len = 1;
+ if ('\\' == *p) {
+ p += mandoc_special(p);
+ return(*p ? (int)(p - sv) : 0);
+ }
+ break;
default:
len = 1;
p--;