summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mandoc.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/mandoc.c b/mandoc.c
index 8197276c..356260f7 100644
--- a/mandoc.c
+++ b/mandoc.c
@@ -102,6 +102,14 @@ mandoc_escape(const char const **end, const char const **start, int *sz)
break;
/*
+ * Escapes taking no arguments at all.
+ */
+ case ('d'):
+ /* FALLTHROUGH */
+ case ('u'):
+ return(ESCAPE_IGNORE);
+
+ /*
* The \z escape is supposed to output the following
* character without advancing the cursor position.
* Since we are mostly dealing with terminal mode,