GNU bug report logs - #54480
28.0.91; shr: face for <code> elements

Previous Next

Package: emacs;

Reported by: Augusto Stoffel <arstoffel <at> gmail.com>

Date: Sun, 20 Mar 2022 15:37:01 UTC

Severity: normal

Found in version 28.0.91

Fixed in version 29.1

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

Bug is archived. No further changes may be made.

Full log


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

From: Augusto Stoffel <arstoffel <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Cc: Protesilaos Stavrou <public <at> protesilaos.com>
Subject: 28.0.91; shr: face for <code> elements
Date: Sun, 20 Mar 2022 16:36:32 +0100
Currently, shr renders <code> elements by applying the `fixed-pitch'
face.  Should it perhaps define and use a `shr-code' face that can be
themed?

The <code> element is more of a logical markup than <italic> or <bold>,
where it is clearly appropriate to hardcode the `italic' and `bold'
faces, respectively.  Moreover, <code> is currently indistinguishable
from normal text if shr-use-fonts is nil.




This bug report was last modified 3 years and 61 days ago.

Previous Next


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