doc.tmac: .Lk - handle punctuation without anchor-text correctly

doc-get-arg-type expects that doc-width is set beforehand, so call
doc-get-width to make sure doc-get-arg-type detects the trailing
punctuation correctly.

PR bin/58074
This commit is contained in:
uwe 2024-03-24 23:39:21 +00:00
parent 1496c22ac9
commit f85a9be4ea
1 changed files with 1 additions and 0 deletions

View File

@ -6416,6 +6416,7 @@
. ds doc-str-Lk Sy \$@
.
. ie (\n[.$] > 1) \{\
. doc-get-width \$2
. doc-get-arg-type \$2
. ie (\n[doc-arg-type] < 3) \{\
. Em \)\$2: