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:
Nicolas Goaziou 2012-04-22 17:00:32 +02:00
parent f1443e7a7a
commit 052247ce81
1 changed files with 1 additions and 1 deletions

View File

@ -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"))
;; Insert table. Note: "table.el" tables are left unmodified.
(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.
(when (and caption (not org-e-ascii-caption-above))
(concat "\n" caption)))))