Up to [cvsweb.bsd.lv] / mandoc / regress / man / UR
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: HEAD
Revision 1.6 / (download) - annotate - [select for diffs], Tue Aug 2 12:02:30 2022 UTC (21 months, 4 weeks ago) by schwarze
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +0 -2 lines
Diff to previous 1.5 (unified)
If the body of a man(7) .MT or .UR block is empty, do not emit a warning. Leaving the body empty is legitimate in this case if the author only wants to display a mail address or URI without providing a link text. Output modules already handle this correctly: terminal output shows just the URI without an accompanying text, HTML output uses the URI for *both* the href= attribute and as the content of the <a> element. The documentation was also wrong and claimed that an .MT or .UR block with an empty body would produce no output. As explained above, this isn't true. Bogus warning reported by Alejandro Colomar <alx dot manpages at gmail dot com>.