org-e-ascii: No trailing whitespace in headlines/inlinetasks titles

* contrib/lisp/org-e-ascii.el (org-e-ascii--build-title): Remove
  trailing whitespace in headlines/inlinetasks titles.
This commit is contained in:
Nicolas Goaziou 2012-08-27 15:35:59 +02:00
parent caf2432c52
commit 4e56f31a24
1 changed files with 2 additions and 1 deletions

View File

@ -508,7 +508,8 @@ title."
'number-to-string
(org-export-get-headline-number element info) ".")
" ")))
(text (org-export-data (org-element-property :title element) info))
(text (org-trim
(org-export-data (org-element-property :title element) info)))
(todo
(and (plist-get info :with-todo-keywords)
(let ((todo (org-element-property :todo-keyword element)))