From 0441982a9457f9bbd953a06ab4fa830c6ffc967b Mon Sep 17 00:00:00 2001 From: Josh Berry Date: Mon, 4 Aug 2014 22:45:43 -0400 Subject: [PATCH 1/2] Fix css export when proprietary properties are used * htmlize.el (htmlize-face-size): Check for a list instead of a single font face. `face-attribute' does not act kindly to being given a list of faces. TINYCHANGE --- contrib/lisp/htmlize.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/lisp/htmlize.el b/contrib/lisp/htmlize.el index 3bf5949..6654f40 100644 --- a/contrib/lisp/htmlize.el +++ b/contrib/lisp/htmlize.el @@ -1079,7 +1079,7 @@ If no rgb.txt file is found, return nil." (let ((size-list (loop for f = face then (face-attribute f :inherit) - until (or (not f) (eq f 'unspecified)) + until (or (not f) (eq f 'unspecified) (listp f)) for h = (face-attribute f :height) collect (if (eq h 'unspecified) nil h)))) (reduce 'htmlize-merge-size (cons nil size-list)))) -- 1.9.1