respect org-html-table-caption-above

This commit is contained in:
Eric Schulte 2013-05-21 14:30:12 -06:00
parent 6ebc8c8561
commit 06cdb2d228
1 changed files with 3 additions and 2 deletions

View File

@ -3178,7 +3178,9 @@ contextual information."
(format "<table%s>\n%s\n%s\n%s</table>" (format "<table%s>\n%s\n%s\n%s</table>"
(if (equal attributes "") "" (concat " " attributes)) (if (equal attributes "") "" (concat " " attributes))
(if (not caption) "" (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))) (org-export-data caption info)))
(funcall table-column-specs table info) (funcall table-column-specs table info)
contents))))) contents)))))
@ -3387,7 +3389,6 @@ Return output file name."
;;;; org-format-table-table-html ;;;; org-format-table-table-html
;;;; org-table-number-fraction ;;;; org-table-number-fraction
;;;; org-table-number-regexp ;;;; org-table-number-regexp
;;;; org-html-table-caption-above
;;;; org-html-inline-image-extensions ;;;; org-html-inline-image-extensions
;;;; org-export-preferred-target-alist ;;;; org-export-preferred-target-alist
;;;; class for anchors ;;;; class for anchors