Hi all,

including .T as an argument to an mdoc macro causes its contents
to be interpolated.

Example to reproduce:
  .Dd October 18, 2025
  .Dt EXAMPLE 1
  .Os
  .Sh DESCRIPTION
  .No Device name is stored in the string .T .

It is not limited to No, though; the following more realistic
input also causes .T to be interpolated:
  .Bl -column "device name".It Name Ta Meaning
  .It device name Ta Dv .T
  .El

Is this correct behavior? My assumption until now was that
only callable mandoc macros are supposed to be interpolated.
Furthermore, mandoc does not exhibit this behavior (or warn
about the unescaped .T when run with -T lint).

Cheers,
onf

(Please Cc me in all responses, I am not subscribed.)

Reply via email to