diff options
author | Nicolas Goaziou <n.goaziou@gmail.com> | 2014-03-28 10:08:56 +0100 |
---|---|---|
committer | Nicolas Goaziou <n.goaziou@gmail.com> | 2014-03-29 15:00:00 +0100 |
commit | 91175a31ee73d10f61a57a290dd588fa484be1f2 (patch) | |
tree | 5b96aa071b5ce8c0c6fdb123799be31e02e07b40 | |
parent | 3636783ca440c1f4aaa5e2db7bc431f0223e1592 (diff) | |
download | org-mode-91175a31ee73d10f61a57a290dd588fa484be1f2.tar.gz |
ox-odt: Ignore blank titles
* lisp/ox-odt.el (org-odt-template): Ignore blank titles.
-rw-r--r-- | lisp/ox-odt.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ox-odt.el b/lisp/ox-odt.el index da2ca3f..0ddf2d5 100644 --- a/lisp/ox-odt.el +++ b/lisp/ox-odt.el @@ -1502,7 +1502,7 @@ original parsed data. INFO is a plist holding export options." (email (and (plist-get info :with-email) email))) (concat ;; Title. - (when title + (when (org-string-nw-p title) (concat (format "\n<text:p text:style-name=\"%s\">%s</text:p>" "OrgTitle" (format "\n<text:title>%s</text:title>" title)) |