diff options
author | Rasmus <rasmus@gmx.us> | 2017-07-04 18:43:18 +0200 |
---|---|---|
committer | Rasmus <rasmus@gmx.us> | 2017-07-04 18:50:39 +0200 |
commit | acabacaa5689f0644a47edae7c66bbdd68418194 (patch) | |
tree | 803d2c6845a8cab913310dfc5265ed045252ce74 | |
parent | 8c548b81b962e5229ba40c58796e304ed7d0fca1 (diff) | |
download | org-mode-acabacaa5689f0644a47edae7c66bbdd68418194.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 3ad3ffe..2ceaf07 100644 --- a/lisp/ox-html.el +++ b/lisp/ox-html.el @@ -2081,7 +2081,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 |