From 51b206bcd2676a3f46cbb89e6ac35d3a04ea70b5 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 22 Mar 2015 15:19:36 +0100 Subject: [PATCH] ox-ascii: Remove dubious spacing in UTF8 titles * lisp/ox-ascii.el (org-ascii-template--document-title): Remove spurious newline characters in title when exporting to UTF8. Suggested-by: Rasmus --- lisp/ox-ascii.el | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lisp/ox-ascii.el b/lisp/ox-ascii.el index 5711b5313..b7d8425bf 100644 --- a/lisp/ox-ascii.el +++ b/lisp/ox-ascii.el @@ -1029,11 +1029,9 @@ INFO is a plist used as a communication channel." (upcase formatted-title) (cond ((and (org-string-nw-p author) (org-string-nw-p email)) - (concat (if utf8p "\n\n\n" "\n\n") author "\n" email)) - ((org-string-nw-p author) - (concat (if utf8p "\n\n\n" "\n\n") author)) - ((org-string-nw-p email) - (concat (if utf8p "\n\n\n" "\n\n") email))) + (concat "\n\n" author "\n" email)) + ((org-string-nw-p author) (concat "\n\n" author)) + ((org-string-nw-p email) (concat "\n\n" email))) "\n" line (when (org-string-nw-p date) (concat "\n\n\n" date)) "\n\n\n") text-width 'center))))) -- 2.11.4.GIT