Browse Source

ox-odt: Ignore blank titles

* lisp/ox-odt.el (org-odt-template): Ignore blank titles.
Nicolas Goaziou 11 years ago
parent
commit
91175a31ee
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/ox-odt.el

+ 1 - 1
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))