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:
parent
1496c22ac9
commit
f85a9be4ea
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue