From 47b136859c01b58c485871ddf294a613d823ece4 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Fri, 20 May 2022 13:09:13 +0000 Subject: Re-classify the roff(7) \r (reverse line feed) escape sequence from "ignore" to "unsupported" because when an input file uses it, mandoc(1) is likely to significantly misformat the output, usually showing parts of the output in a different order than the author intended. --- roff_escape.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roff_escape.c') diff --git a/roff_escape.c b/roff_escape.c index 1b5dc640..fb7b92ed 100644 --- a/roff_escape.c +++ b/roff_escape.c @@ -103,6 +103,7 @@ roff_escape(const char *buf, const int ln, const int aesc, case '!': case '?': + case 'r': rval = ESCAPE_UNSUPP; goto out; @@ -114,7 +115,6 @@ roff_escape(const char *buf, const int ln, const int aesc, case '^': case 'a': case 'd': - case 'r': case 't': case 'u': case '{': -- cgit v1.2.3