[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Bug: ox-html.el does not take into consideration #+attr_html during
From: |
Дядов Васил Ст оянов |
Subject: |
[O] 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 |
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.
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\\(.*\\)>" table-tag)
(match-string 1 table-tag))
+ attributes)
(and label (format " id=\"%s\""
(org-export-solidify-link-text label)))))))
;; Remove last blank line.
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/)
- [O] 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/)],
Дядов Васил Ст оянов <=