From mboxrd@z Thu Jan 1 00:00:00 1970 From: vdyadov@elvees.com (=?utf-8?B?0JTRj9C00L7QsiDQktCw0YHQuNC7INCh0YI=?= =?utf-8?B?0L7Rj9C90L7Qsg==?=) Subject: Bug: ox-html.el does not take into consideration #+attr_html during table export [7.9.3e (7.9.3e-956-g3943be.dirty @ /home/vdyadov/Work/Tools/emacs/org-mode/lisp/)] Date: Thu, 14 Feb 2013 13:42:38 +0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:45296) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5vL9-0002qD-IH for emacs-orgmode@gnu.org; Thu, 14 Feb 2013 04:42:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U5vL5-0004zK-To for emacs-orgmode@gnu.org; Thu, 14 Feb 2013 04:42:51 -0500 Received: from mail.elvees.com ([80.90.126.250]:53444) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5vL5-0004y5-Gj for emacs-orgmode@gnu.org; Thu, 14 Feb 2013 04:42:47 -0500 Received: from canopus-pc.elvees.com.elvees.com (horse.elvees.com [80.90.126.253]) (authenticated bits=0) by mail.elvees.com (8.14.3/8.14.2) with ESMTP id r1E9ghgt067455 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Thu, 14 Feb 2013 13:42:43 +0400 (MSK) (envelope-from vdyadov@elvees.com) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. ------------------------------------------------------------------------ Patch with fix attached. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=ox-html.patch Content-Description: ox-html.el.patch diff --git a/lisp/ox-html.el b/lisp/ox-html.el index 743f465..797aa96 100644 --- a/lisp/ox-html.el +++ b/lisp/ox-html.el @@ -2674,8 +2674,10 @@ contextual information." (table-attributes (let ((table-tag (plist-get info :html-table-tag))) (concat + (if (string-equal attributes "") (and (string-match "" table-tag) (match-string 1 table-tag)) + attributes) (and label (format " id=\"%s\"" (org-export-solidify-link-text label))))))) ;; Remove last blank line. --=-=-= Content-Type: text/plain Emacs : GNU Emacs 24.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.18.9) of 2012-12-25 on canopus-pc.elvees.com Package: Org-mode version 7.9.3e (7.9.3e-956-g3943be.dirty @ /home/vdyadov/Work/Tools/emacs/org-mode/lisp/) --=-=-=--