summaryrefslogtreecommitdiff
path: root/lisp/gnus/shr.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/gnus/shr.el')
-rw-r--r--lisp/gnus/shr.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/gnus/shr.el b/lisp/gnus/shr.el
index 1efa31ad176..8398e8a6114 100644
--- a/lisp/gnus/shr.el
+++ b/lisp/gnus/shr.el
@@ -502,6 +502,8 @@ START, and END."
(defun shr-insert-color-overlay (color start end)
(when color
+ (when (string-match " " color)
+ (setq color (car (split-string color))))
(let ((overlay (make-overlay start end)))
(overlay-put overlay 'face (cons 'foreground-color
(cadr (shr-color-check color)))))))