all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Geoff Kuenning <geoff@cs.hmc.edu>
Cc: 27744@debbugs.gnu.org
Subject: bug#27744: CSS whitespace:pre not supported
Date: Thu, 12 Apr 2018 21:05:40 +0200	[thread overview]
Message-ID: <87r2nknt2z.fsf@mouse.gnus.org> (raw)
In-Reply-To: <pniy3rm20wf.fsf@bow.cs.hmc.edu> (Geoff Kuenning's message of "Mon, 17 Jul 2017 14:45:20 -0700")

Geoff Kuenning <geoff@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





           reply	other threads:[~2018-04-12 19:05 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <pniy3rm20wf.fsf@bow.cs.hmc.edu>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r2nknt2z.fsf@mouse.gnus.org \
    --to=larsi@gnus.org \
    --cc=27744@debbugs.gnu.org \
    --cc=geoff@cs.hmc.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.