浏览代码

Merge branch 'maint'

Nicolas Goaziou 8 年之前
父节点
当前提交
698f020be1
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      contrib/lisp/ox-confluence.el

+ 3 - 3
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)))