summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ascii.in2
-rw-r--r--mdoc_strings.c4
2 files changed, 6 insertions, 0 deletions
diff --git a/ascii.in b/ascii.in
index 58df2047..5518f12c 100644
--- a/ascii.in
+++ b/ascii.in
@@ -32,6 +32,8 @@ LINE("`", 1, "`", 1)
LINE("%", 1, "%", 1)
LINE("-", 1, "-", 1)
LINE(" ", 1, " ", 1)
+LINE("~", 1, " ", 1)
+LINE("^", 1, "", 0)
LINE("0", 1, " ", 1)
LINE(".", 1, ".", 1)
LINE("&", 1, "", 0)
diff --git a/mdoc_strings.c b/mdoc_strings.c
index cdd6c45d..c5fa51bc 100644
--- a/mdoc_strings.c
+++ b/mdoc_strings.c
@@ -87,6 +87,10 @@ mdoc_isescape(const char *p)
/* FALLTHROUGH */
case ('-'):
/* FALLTHROUGH */
+ case ('~'):
+ /* FALLTHROUGH */
+ case ('^'):
+ /* FALLTHROUGH */
case ('%'):
/* FALLTHROUGH */
case ('0'):