Re: Blanks in the first line before the first word in the code boxes

From: "Jonathan S(dot) Katz" <jkatz(at)postgresql(dot)org>
To: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
Cc: Daniel Westermann <daniel(dot)westermann(at)dbi-services(dot)com>, pgsql-docs(at)postgresql(dot)org
Subject: Re: Blanks in the first line before the first word in the code boxes
Date: 2018-03-29 01:36:59
Message-ID: 5B6B7585-9892-4846-904F-BB5B4A011A7D@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs


> On Mar 28, 2018, at 9:32 PM, Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> wrote:
>
> On 3/28/18 21:30, Peter Eisentraut wrote:
>> On 3/23/18 08:56, Daniel Westermann wrote:
>>> is it only me who sees blanks before the first word in the first line of
>>> the code boxes, e.g. here:
>>>
>>> https://www.postgresql.org/docs/9.6/static/sql-createtable.html
>>> https://www.postgresql.org/docs/10/static/sql-createtable.html
>>>
>>> For the devel documentation it is fine:
>>> https://www.postgresql.org/docs/devel/static/sql-createtable.html
>>>
>>> Tested in Firefox and Chrome.
>>
>> Yeah, that looks weird. I'll look into it.
>
> Just looking at a nearby thread ... something is quite whacky with the
> web site stylesheet. It didn't use to look like this. Check this out:
> https://www.postgresql.org/docs/10/static/pgcrypto.html#id-1.11.7.35.5 <https://www.postgresql.org/docs/10/static/pgcrypto.html#id-1.11.7.35.5>
Something is adding spaces - it’s within the “<pre>” tag, which causes browsers
to interpret each space literally.

For the case of the “digest” function, the outputted HTML shows the first digest
function indented, the second one at the start of the new line.

Jonathan

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Peter Eisentraut 2018-03-29 01:44:56 Re: create publication descendant tables
Previous Message Peter Eisentraut 2018-03-29 01:33:41 Re: need for SHA3