From: Humm Date: Wed, 24 Nov 2021 19:56:44 +0000 Subject: [PATCH] troff: we are not htmlroff If we don’t explicitly check for ‘h’ in troff, we can’t reliably check for non-htmlroff well. Consider the following: .if h \{\ . de M . tm m ..\} Without this change, this will print m and not define macro M. --- diff 24b9a78ceb63234ef0b0e7d1da0d46119b7a297d c2f89dc6c142284fc3b4c38a4e9fbf5c0c5b2a1d --- a/sys/src/cmd/troff/n5.c Wed Nov 24 15:41:36 2021 +++ b/sys/src/cmd/troff/n5.c Wed Nov 24 20:56:44 2021 @@ -683,6 +683,7 @@ if (TROFF) true++; break; + case 'h': case ' ': break; default: