Re: Undesirable whitespace treatment in mail archive display - Mailing list pgsql-www

From Jonathan S. Katz
Subject Re: Undesirable whitespace treatment in mail archive display
Date
Msg-id 46AA917A-4B3B-444B-B9F5-AF88E47B4A13@postgresql.org
Whole thread Raw
In response to Undesirable whitespace treatment in mail archive display  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Undesirable whitespace treatment in mail archive display
List pgsql-www
> On Jun 11, 2018, at 1:47 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> Since we moved to the new website design, the mailing list archives
> display all messages with leading indentation suppressed.  This can
> be pretty awful, eg in the code fragment here:
>
> https://www.postgresql.org/message-id/20180611170812.7ypf6xs6dlteo57j@alap3.anarazel.de
>
> Looking closer, I think it may not just be leading indentation that
> gets lost; seems like *any* whitespace string gets smashed to a
> single space, cf followup at
>
> https://www.postgresql.org/message-id/7382.1528737252%40sss.pgh.pa.us
>
> which certainly does not look like it did in my outbox.
>
> I assume this is just an ill-considered stylesheet choice somewhere
> ... can we fix it please?

Hmm…agreed. I’m going to check the old code to see how that was handled. This
may have occurred when trying to make the archives readable across different
viewports.

Jonathan



pgsql-www by date:

Previous
From: Tom Lane
Date:
Subject: Undesirable whitespace treatment in mail archive display
Next
From: Daniel Gustafsson
Date:
Subject: Re: Undesirable whitespace treatment in mail archive display