>From 8b7534d16b611fa4f55df59ce4e2521b5c525cc0 Mon Sep 17 00:00:00 2001 From: Rasmus Date: Sun, 22 May 2016 15:10:16 +0200 Subject: [PATCH] ox-html: Find preamble-spec case-insensitively * ox-html.el (org-html--build-pre/postamble): Find the spec based on the language case-insensitively. Note that the default org-html-preamble-format and org-export-default-language are incompatible. --- lisp/ox-html.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lisp/ox-html.el b/lisp/ox-html.el index a05fa2d..3d4e5da 100644 --- a/lisp/ox-html.el +++ b/lisp/ox-html.el @@ -1854,10 +1854,11 @@ communication channel." (format "

%s

\n" validation-link)))) (t (format-spec - (or (cadr (assoc + (or (cadr (assoc-string (plist-get info :language) (eval (intern - (format "org-html-%s-format" type))))) + (format "org-html-%s-format" type))) + t)) (cadr (assoc "en" -- 2.8.2