From 131d70ab48a343d57c4bd56e7467751e72896089 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Thu, 14 Feb 2013 11:07:18 +0100 Subject: [PATCH] ox-html.el (org-html-table): Append #+attr_html attributes MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * ox-html.el (org-html-table): Append #+attr_html attributes. Thanks to Дядов Васил Стоянов for reporting this and for a preliminary patch. --- lisp/ox-html.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/ox-html.el b/lisp/ox-html.el index aa79978e8..f5312e743 100644 --- a/lisp/ox-html.el +++ b/lisp/ox-html.el @@ -2693,7 +2693,9 @@ contextual information." (and (string-match "" table-tag) (match-string 1 table-tag)) (and label (format " id=\"%s\"" - (org-export-solidify-link-text label))))))) + (org-export-solidify-link-text label))) + (unless (string= attributes "") + (concat " " attributes)))))) ;; Remove last blank line. (setq contents (substring contents 0 -1)) (format "\n%s\n%s\n%s\n" -- 2.11.4.GIT