GNU bug report logs - #27744
CSS whitespace:pre not supported

Previous Next

Packages: gnus, emacs;

Reported by: Geoff Kuenning <geoff <at> cs.hmc.edu>

Date: Mon, 17 Jul 2017 21:46:01 UTC

Severity: minor

Tags: wontfix

Found in version 5.13

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 27744 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Geoff Kuenning <geoff <at> cs.hmc.edu>
Cc: 27744 <at> debbugs.gnu.org
Subject: Re: bug#27744: CSS whitespace:pre not supported
Date: Thu, 12 Apr 2018 21:05:40 +0200
Geoff Kuenning <geoff <at> cs.hmc.edu> writes:

> The "wash html" function in Gnus doesn't seem to support the
> whitespace:pre CSS style.  I've attached a sample message in
> multipart/mixed format that contains HTML using whitespace:pre. If you
> save the HTML portion in a file and view it with a browser, you'll see
> that the patched code is properly indented.  OTOH if you view it in
> Gnus with "W h", there will be no indentation.

shr (which Gnus uses to render HTML) understands only a minuscule subset
of CSS.  white-space: pre; is not something it supports, and isn't very
likely to support in the near future.  It's rather obscure, and there
are plenty of lower-hanging fruit for people who want to make it render
more stuff.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 7 years and 120 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.