summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <n.goaziou@gmail.com>2014-03-28 10:08:56 +0100
committerNicolas Goaziou <n.goaziou@gmail.com>2014-03-29 15:00:00 +0100
commit91175a31ee73d10f61a57a290dd588fa484be1f2 (patch)
tree5b96aa071b5ce8c0c6fdb123799be31e02e07b40
parent3636783ca440c1f4aaa5e2db7bc431f0223e1592 (diff)
downloadorg-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.el2
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))