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

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: "Jonathan S(dot) Katz" <jkatz(at)postgresql(dot)org>
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:47:38
Message-ID: e2519cc3-f781-d111-26fd-ff5efa7648ad@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On 3/28/18 21:36, Jonathan S. Katz wrote:
>
>> On Mar 28, 2018, at 9:32 PM, Peter Eisentraut
>> <peter(dot)eisentraut(at)2ndquadrant(dot)com
>> <mailto:peter(dot)eisentraut(at)2ndquadrant(dot)com>> wrote:
>>> 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
>
> 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.

Yeah, the spaces are in the source, so it's not a CSS issue. But it
doesn't come out like that if you build the docs locally. So it's
something in the web site code.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Jonathan S. Katz 2018-03-29 02:02:38 Re: Blanks in the first line before the first word in the code boxes
Previous Message Peter Eisentraut 2018-03-29 01:44:56 Re: create publication descendant tables