org-e-ascii: Correctly indent table.el tables
* contrib/lisp/org-e-ascii.el (org-e-ascii-table): Remove indentation from table.el tables.
This commit is contained in:
parent
f1443e7a7a
commit
052247ce81
|
@ -1592,7 +1592,7 @@ CONTENTS is nil. INFO is a plist holding contextual information."
|
||||||
(when (and caption org-e-ascii-caption-above) (concat caption "\n"))
|
(when (and caption org-e-ascii-caption-above) (concat caption "\n"))
|
||||||
;; Insert table. Note: "table.el" tables are left unmodified.
|
;; Insert table. Note: "table.el" tables are left unmodified.
|
||||||
(if (eq (org-element-property :type table) 'org) contents
|
(if (eq (org-element-property :type table) 'org) contents
|
||||||
(org-element-property :value table))
|
(org-remove-indentation (org-element-property :value table)))
|
||||||
;; Possible add a caption string below.
|
;; Possible add a caption string below.
|
||||||
(when (and caption (not org-e-ascii-caption-above))
|
(when (and caption (not org-e-ascii-caption-above))
|
||||||
(concat "\n" caption)))))
|
(concat "\n" caption)))))
|
||||||
|
|
Loading…
Reference in New Issue