ox-ascii: Remove spurious new line between a table and the caption below

* lisp/ox-ascii.el (org-ascii-table): Remove spurious new line between
  a table and the caption below.

Thanks to Rick Frankel for reporting it and providing a patch.
This commit is contained in:
Nicolas Goaziou 2013-08-03 01:51:47 +02:00
parent cc10c80d85
commit 216521ea2b
1 changed files with 1 additions and 2 deletions

View File

@ -1657,8 +1657,7 @@ contextual information."
(buffer-substring (point-min) (point))))
(t (org-remove-indentation (org-element-property :value table))))
;; Possible add a caption string below.
(when (and caption (not org-ascii-caption-above))
(concat "\n" caption)))))
(and (not org-ascii-caption-above) caption))))
;;;; Table Cell