Follow-up Comment #15, bug #62040 (project groff):
Commenting out what is presently line 2251 in "m.tmac" prevents the problem
from arising.
.ds*div!\\n[ds*snr]
Unfortunately all this does is emit a diversion (the stored display); it
completely defeats the purpose of the `DS`/`DE` macros. It
Follow-up Comment #16, bug #62040 (project groff):
If we translate the reproducer into an _ms_(7) document, no problem arises.
$ cat EXPERIMENTS/54909b-for-ms.ms
.NH 1
.DS
display
.DE
$ groff -ms -Thtml EXPERIMENTS/54909b-for-ms.ms && echo good exit status
http://www.w3.org/TR/html4/loose.dtd"