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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 27744 in the body.
You can then email your comments to 27744 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bugs <at> gnus.org:
bug#27744; Package gnus. (Mon, 17 Jul 2017 21:46:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Geoff Kuenning <geoff <at> cs.hmc.edu>:
New bug report received and forwarded. Copy sent to bugs <at> gnus.org. (Mon, 17 Jul 2017 21:46:02 GMT) Full text and rfc822 format available.

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

From: Geoff Kuenning <geoff <at> cs.hmc.edu>
To: submit <at> debbugs.gnu.org (The Gnus Bugfixing Girls + Boys)
Subject: CSS whitespace:pre not supported
Date: Mon, 17 Jul 2017 14:45:20 -0700
[Message part 1 (text/plain, inline)]
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.

(Note: the plain-text version of the message is also improperly 
indented, but that's a bug at the sender end, not with Gnus.)



Gnus v5.13
GNU Emacs 24.3.1 (x86_64-suse-linux-gnu, GTK+ Version 3.16.7)
of 2017-01-05 on cloud112

-- 
   Geoff Kuenning   geoff <at> cs.hmc.edu 
   http://www.cs.hmc.edu/~geoff/

XML: verbose obfuscation in the service of simple key-value pairs.

[whitespacepre (application/octet-stream, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#27744; Package emacs,gnus. (Thu, 12 Apr 2018 19:06:01 GMT) Full text and rfc822 format available.

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




Added tag(s) wontfix. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 12 Apr 2018 19:06:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 27744 <at> debbugs.gnu.org and Geoff Kuenning <geoff <at> cs.hmc.edu> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 12 Apr 2018 19:06:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 11 May 2018 11:24:09 GMT) Full text and rfc822 format available.

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.