On https://www.postgresql.org/docs/manuals/ we print an empty <ul> block in
case there is no PDF version available for the release, which violates XHTML
where <ul> requires at least one <li> item. Attached patch wraps the list
generation in checks for a4/letter PDFs, and omits <ul> in case no PDF is
available. Another option would be to have a dummy <li> with “No PDF
available” or something like that, I personally prefer to leave it blank
though.
cheers ./daniel
--
Sent via pgsql-www mailing list (pgsql-www@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-www
On Mon, Jul 10, 2017 at 9:24 AM, Daniel Gustafsson <daniel@yesql.se> wrote:
On https://www.postgresql.org/docs/manuals/ we print an empty <ul> block in case there is no PDF version available for the release, which violates XHTML where <ul> requires at least one <li> item. Attached patch wraps the list generation in checks for a4/letter PDFs, and omits <ul> in case no PDF is available. Another option would be to have a dummy <li> with “No PDF available” or something like that, I personally prefer to leave it blank though.