mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-05 23:13:08 +00:00
org-export: Fix uninterpreted syntax status
* contrib/lisp/org-export.el (org-export-data): Send uninterpreted Org syntax into export process again, so plain text transformations still can be applied on it.
This commit is contained in:
parent
cbc1c03680
commit
e1d6c251ae
|
@ -1574,13 +1574,15 @@ Return transcoded string."
|
|||
(if transcoder (funcall transcoder data info) data))
|
||||
info))
|
||||
;; Uninterpreted element/object: change it back to Org
|
||||
;; syntax.
|
||||
;; syntax and export again resulting raw string.
|
||||
((not (org-export-interpret-p data info))
|
||||
(org-export-expand
|
||||
data
|
||||
(mapconcat (lambda (blob) (org-export-data blob info))
|
||||
(org-element-contents data)
|
||||
"")))
|
||||
(org-export-data
|
||||
(org-export-expand
|
||||
data
|
||||
(mapconcat (lambda (blob) (org-export-data blob info))
|
||||
(org-element-contents data)
|
||||
""))
|
||||
info))
|
||||
;; Secondary string.
|
||||
((not type)
|
||||
(mapconcat (lambda (obj) (org-export-data obj info)) data ""))
|
||||
|
|
Loading…
Reference in a new issue