diff options
author | Rasmus <rasmus@gmx.us> | 2017-07-04 18:43:18 +0200 |
---|---|---|
committer | Rasmus <rasmus@gmx.us> | 2017-07-22 14:07:39 +0200 |
commit | 3650c980d8b9f316f5640c069d1dfd5083ca5517 (patch) | |
tree | 3b332be68b1dd00dd02eeb91a74829891e02ef8b | |
parent | 52e0966fd4c8b2890aaf8cc73ae68f9430a150e1 (diff) | |
download | org-mode-3650c980d8b9f316f5640c069d1dfd5083ca5517.tar.gz |
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 <olivier.berger@telecom-sudparis.eu>
<http://permalink.gmane.org/gmane.emacs.orgmode/114546>
-rw-r--r-- | lisp/ox-html.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/ox-html.el b/lisp/ox-html.el index 49562fa..aeb38eb 100644 --- a/lisp/ox-html.el +++ b/lisp/ox-html.el @@ -2034,7 +2034,8 @@ holding export options." (format (if html5-fancy "<p class=\"subtitle\">%s</p>\n" - "\n<br>\n<span class=\"subtitle\">%s</span>\n") + (concat "\n" (org-html-close-tag "br" nil info) "\n" + "<span class=\"subtitle\">%s</span>\n")) (org-export-data subtitle info)) ""))))) contents |