1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2025-01-14 16:51:15 +00:00

org-e-ascii: Remove spurious blank lines ascii art tables

* contrib/lisp/org-e-ascii.el (org-e-ascii-table): Remove spurious
  blank lines ascii art tables.
This commit is contained in:
Nicolas Goaziou 2012-08-03 09:56:40 +02:00
parent 0601d117bb
commit 43606a916a

View File

@ -38,6 +38,7 @@
(eval-when-compile (require 'cl))
(require 'org-export)
(declare-function aa2u "ext:ascii-art-to-unicode" ())
;;; Define Back-End
;;
@ -1543,7 +1544,7 @@ contextual information."
(aa2u)
(goto-char (point-max))
(skip-chars-backward " \r\t\n")
(buffer-string)))
(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-e-ascii-caption-above))