Re: Empty <ul> on manuals/

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Daniel Gustafsson <daniel(at)yesql(dot)se>
Cc: PostgreSQL WWW <pgsql-www(at)postgresql(dot)org>
Subject: Re: Empty <ul> on manuals/
Date: 2017-07-11 09:56:23
Message-ID: CABUevEw_us4bgj_YOHQb-7_M=vzZr7fstBpsNacb7j9jRXNMng@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

On Mon, Jul 10, 2017 at 9:24 AM, Daniel Gustafsson <daniel(at)yesql(dot)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.
>

Applied, thanks.

--
Magnus Hagander
Me: https://www.hagander.net/ <http://www.hagander.net/>
Work: https://www.redpill-linpro.com/ <http://www.redpill-linpro.com/>

In response to

Browse pgsql-www by date

  From Date Subject
Next Message Shubham Barai 2017-07-11 13:40:08 GSoC 2017: weekly progress reports (week 6)
Previous Message Magnus Hagander 2017-07-11 09:23:17 Re: Supported Windows version for the Windows installer