[Bug 290801] date(1) does not render correctly on man.freebsd.org
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 290801] date(1) does not render correctly on man.freebsd.org"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 04 Nov 2025 23:52:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290801
B.S. <bigsneaky@duck.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bigsneaky@duck.com
--- Comment #3 from B.S. <bigsneaky@duck.com> ---
It is not just the %N symbol itself that is not rendering correctly on
https://man.freebsd.org/cgi/man.cgi?query=date
Viewing source to see the raw html:
> <a name="HISTORY" href="#end"><b>HISTORY</b></a>
> A <b>date</b> command appeared in Version 1 AT&T UNIX.
> ...
> The <b>-I</b> flag was added in FreeBSD 12.0.
>
> The `conversion specification was added in FreeBSD'
Compare that last line to the man page:
https://github.com/freebsd/freebsd-src/blob/release/14.1.0/bin/date/date.1
> The
> .Ql %N
> conversion specification was added in
> .Fx 14.1 .
The "14.1" has been "eaten" by the %N.
Interestingly, html output from mandoc is fine:
> mandoc -T html date.1
Produces:
> <p class="Pp">The ‘<code class="Li">%N</code>’ conversion
> specification was added in <span class="Ux">FreeBSD 14.1</span>.</p>
This renders correctly - but man.freebsd.org clearly does not use mandoc html.
--
You are receiving this mail because:
You are on the CC list for the bug.