Browse Source

Fix bug with table tag in table html export.

Reported by
Carsten Dominik 16 years ago
parent
commit
2f3e5eaa2b
2 changed files with 4 additions and 0 deletions
  1. 3 0
      lisp/ChangeLog
  2. 1 0
      lisp/org-table.el

+ 3 - 0
lisp/ChangeLog

@@ -1,5 +1,8 @@
 2008-10-18  Carsten Dominik  <dominik@science.uva.nl>
 
+	* org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
+	formatter.
+
 	* org-export-latex.el (org-latex-entities-regexp): New constant.
 	(org-export-as-pdf): Use two calls to `shell-command'.
 

+ 1 - 0
lisp/org-table.el

@@ -3927,6 +3927,7 @@ The general parameters :skip and :skipcols have already been applied when
 this function is called.  The function does *not* use `orgtbl-to-generic',
 so you cannot specify parameters for it."
   (let* ((splicep (plist-get params :splice))
+	 (html-table-tag org-export-html-table-tag)
 	 html)
     ;; Just call the formatter we already have
     ;; We need to make text lines for it, so put the fields back together.