mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-27 08:43:40 -07:00
Fix previous shr-parse-style change
* lisp/net/shr.el (shr-parse-style): Fix previous clean-up here (which wasn't well thought through).
This commit is contained in:
parent
4eb749a173
commit
5a9965f0c7
1 changed files with 1 additions and 3 deletions
|
|
@ -1431,9 +1431,7 @@ ones, in case fg and bg are nil."
|
|||
|
||||
(defun shr-parse-style (style)
|
||||
(when style
|
||||
(save-match-data
|
||||
(when (string-search "\n" style)
|
||||
(setq style (replace-match " " t t style))))
|
||||
(setq style (replace-regexp-in-string "\n" " " style))
|
||||
(let ((plist nil))
|
||||
(dolist (elem (split-string style ";"))
|
||||
(when elem
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue