Signed-off-by: Julien Danjou <julien@danjou.info>
2010-11-23 Julien Danjou <julien@danjou.info>
+ * shr.el (shr-parse-style): Replace \n with space in style parsing.
+
* shr-color.el (shr-color-hsl-to-rgb-fractions): Use shr-color-hue-to-rgb.
(shr-color->hexadecimal): Call shr-color-hsl-to-rgb-fractions.
(defun shr-parse-style (style)
(when style
+ (save-match-data
+ (when (string-match "\n" style)
+ (setq style (replace-match " " t t style))))
(let ((plist nil))
(dolist (elem (split-string style ";"))
(when elem