mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-19 09:18:35 +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:
parent
caf2432c52
commit
4e56f31a24
|
@ -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)))
|
||||
|
|
Loading…
Reference in a new issue