summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Schulte <schulte.eric@gmail.com>2013-05-21 14:30:12 -0600
committerEric Schulte <schulte.eric@gmail.com>2013-05-21 14:30:12 -0600
commit06cdb2d228c75f0cdaf4a0c5cae12ea437f93bde (patch)
tree5c4b4b680869aceb3711c06f9f302314aa25d658
parent6ebc8c8561e3133d17fb54fcf066fd0ebdc6b1f8 (diff)
downloadorg-mode-06cdb2d228c75f0cdaf4a0c5cae12ea437f93bde.tar.gz
respect org-html-table-caption-above
-rw-r--r--lisp/ox-html.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/ox-html.el b/lisp/ox-html.el
index e16e074..f4333e0 100644
--- a/lisp/ox-html.el
+++ b/lisp/ox-html.el
@@ -3178,7 +3178,9 @@ contextual information."
(format "<table%s>\n%s\n%s\n%s</table>"
(if (equal attributes "") "" (concat " " attributes))
(if (not caption) ""
- (format "<caption>%s</caption>"
+ (format (if org-html-table-caption-above
+ "<caption align=\"above\">%s</caption>"
+ "<caption align=\"bottom\">%s</caption>")
(org-export-data caption info)))
(funcall table-column-specs table info)
contents)))))
@@ -3387,7 +3389,6 @@ Return output file name."
;;;; org-format-table-table-html
;;;; org-table-number-fraction
;;;; org-table-number-regexp
-;;;; org-html-table-caption-above
;;;; org-html-inline-image-extensions
;;;; org-export-preferred-target-alist
;;;; class for anchors