Empty <ul> on manuals/

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: PostgreSQL WWW <pgsql-www(at)postgresql(dot)org>
Subject: Empty <ul> on manuals/
Date: 2017-07-10 07:24:09
Message-ID: 001FF633-1764-48D3-BC40-7F8D648AFB19@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

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

Attachment Content-Type Size
empty-ul.patch application/octet-stream 1.2 KB

Responses

Browse pgsql-www by date

  From Date Subject
Next Message Dave Page 2017-07-10 07:53:23 Re: Supported Windows version for the Windows installer
Previous Message Daniel Gustafsson 2017-07-09 21:17:04 Highlight on docs version