1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2025-01-06 11:55:57 +00:00

Revert "ox-html.el: Use classes for caption instead of align"

This reverts commit 1813200fc8.
This commit is contained in:
Bastien Guerry 2013-12-30 10:43:43 +01:00
parent 1813200fc8
commit 4898be673f

View File

@ -279,8 +279,6 @@ for the JavaScript code in this tag.
pre.src-sql:before { content: 'SQL'; }
table { border-collapse:collapse; }
caption.t-above { caption-side: top; }
caption.t-bottom { caption-side: bottom; }
td, th { vertical-align:top; }
th.right { text-align: center; }
th.left { text-align: center; }
@ -3257,8 +3255,8 @@ contextual information."
(if (equal attributes "") "" (concat " " attributes))
(if (not caption) ""
(format (if org-html-table-caption-above
"<caption class=\"t-above\">%s</caption>"
"<caption class=\"t-bottom\">%s</caption>")
"<caption align=\"above\">%s</caption>"
"<caption align=\"bottom\">%s</caption>")
(concat
"<span class=\"table-number\">"
(format (org-html--translate "Table %d:" info) number)