Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Nov 2025 23:52:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 290801] date(1) does not render correctly on man.freebsd.org
Message-ID:  <bug-290801-227-4cUXNMEDSP@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-290801-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-290801-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D290801

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=3Ddate

Viewing source to see the raw html:

> <a name=3D"HISTORY" href=3D"#end"><b>HISTORY</b></a>
>       A <b>date</b> command appeared in Version 1 AT&amp;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=3D"Pp">The &#x2018;<code class=3D"Li">%N</code>&#x2019; conversi=
on
>    specification was added in <span class=3D"Ux">FreeBSD 14.1</span>.</p>

This renders correctly - but man.freebsd.org clearly does not use mandoc ht=
ml.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-290801-227-4cUXNMEDSP>