summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2017-04-17 11:29:48 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2017-04-17 11:29:48 +0200
commit698f020be113cdc05cec0ea5d74b8ae7f08b26e0 (patch)
tree32023991ec0cdca95ac8f9d2b9b7c2404216cc8c
parent6c1aaff5cea2af0e024d2425d6c1153e9e0c038a (diff)
parent166364bc96e515c301f0dce9005cd010599d31c2 (diff)
downloadorg-mode-698f020be113cdc05cec0ea5d74b8ae7f08b26e0.tar.gz
Merge branch 'maint'
-rw-r--r--contrib/lisp/ox-confluence.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/lisp/ox-confluence.el b/contrib/lisp/ox-confluence.el
index a9fac5e..c70fe85 100644
--- a/contrib/lisp/ox-confluence.el
+++ b/contrib/lisp/ox-confluence.el
@@ -170,9 +170,9 @@ a communication channel."
(defun org-confluence-table-cell (table-cell contents info)
(let ((table-row (org-export-get-parent table-cell)))
- (concat
- (and (org-export-table-row-starts-header-p table-row info) "|")
- " " contents "|")))
+ (concat (and (org-export-table-row-starts-header-p table-row info) "|")
+ (if (= (length contents) 0) " " contents)
+ "|")))
(defun org-confluence-template (contents info)
(let ((depth (plist-get info :with-toc)))