forked from mirrors/org-mode
org-e-html-table: Emit `caption' elements only when required
This commit is contained in:
parent
7a1bd94df1
commit
3a8969edbc
|
@ -2835,10 +2835,9 @@ contextual information."
|
|||
(org-export-solidify-link-text label)))))))
|
||||
;; Remove last blank line.
|
||||
(setq contents (substring contents 0 -1))
|
||||
;; FIXME: splice
|
||||
(format "<table%s>\n<caption>%s</caption>\n%s\n%s\n</table>"
|
||||
(format "<table%s>\n%s\n%s\n%s\n</table>"
|
||||
table-attributes
|
||||
(or caption "")
|
||||
(if (not caption) "" (format "<caption>%s</caption>" caption))
|
||||
(funcall table-column-specs table info)
|
||||
contents)))))
|
||||
|
||||
|
|
Loading…
Reference in a new issue