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
|
'number-to-string
|
||||||
(org-export-get-headline-number element info) ".")
|
(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
|
(todo
|
||||||
(and (plist-get info :with-todo-keywords)
|
(and (plist-get info :with-todo-keywords)
|
||||||
(let ((todo (org-element-property :todo-keyword element)))
|
(let ((todo (org-element-property :todo-keyword element)))
|
||||||
|
|
Loading…
Reference in New Issue