0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-07-15 07:46:28 +00:00

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

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