From 77447e8cd33c8c1bca66d3d72f2947ce7f39b4dd Mon Sep 17 00:00:00 2001 From: Lars Tveito Date: Sun, 28 Feb 2016 11:33:21 +0100 Subject: [PATCH] Use dummy headers, but just for single row tables --- ox-gfm.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ox-gfm.el b/ox-gfm.el index 12ade81..28b831f 100644 --- a/ox-gfm.el +++ b/ox-gfm.el @@ -192,8 +192,7 @@ channel." CONTENTS is the contents of the table. INFO is a plist holding contextual information." (let* ((rows (org-element-map table 'table-row 'identity info)) - (no-header (or (<= (length rows) 1) - (not (eq 'rule (org-element-property :type (cadr rows)))))) + (no-header (or (<= (length rows) 1))) (cols (cdr (org-export-table-dimensions table info))) (build-dummy-header (function