ref: 69249e8313fb8853c5c162dd16b927099e25bb15
parent: f0adfb4dedd27d62db8579cbdac07f72f1500cf9
author: Humm <hummsmith42@gmail.com>
date: Wed Nov 24 14:56:44 EST 2021
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.
--- a/sys/src/cmd/troff/n5.c
+++ b/sys/src/cmd/troff/n5.c
@@ -683,6 +683,7 @@
if (TROFF)
true++;
break;
+ case 'h':
case ' ':
break;
default: