From acabacaa5689f0644a47edae7c66bbdd68418194 Mon Sep 17 00:00:00 2001 From: Rasmus Date: Tue, 4 Jul 2017 18:43:18 +0200 Subject: [PATCH] ox-html: Use correct "br" tag for subtitle * lisp/ox-html.el (org-html-template): Use correct "br" tag depending on :html-doctype. Reported-by: Olivier Berger --- lisp/ox-html.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/ox-html.el b/lisp/ox-html.el index 3ad3ffe3a..2ceaf0722 100644 --- a/lisp/ox-html.el +++ b/lisp/ox-html.el @@ -2081,7 +2081,8 @@ holding export options." (format (if html5-fancy "

%s

\n" - "\n
\n%s\n") + (concat "\n" (org-html-close-tag "br" nil info) "\n" + "%s\n")) (org-export-data subtitle info)) ""))))) contents -- 2.11.4.GIT