ox-html: Restore wrongly omitted table attributes under HTML5
* lisp/ox-html.el (org-html-table): For HTML5, omit :html-table-attributes but not :id or :attr_html. TINYCHANGE
This commit is contained in:
parent
41068a59d2
commit
abacffb3e0
|
@ -3163,12 +3163,12 @@ contextual information."
|
||||||
(number (org-export-get-ordinal
|
(number (org-export-get-ordinal
|
||||||
table info nil 'org-html--has-caption-p))
|
table info nil 'org-html--has-caption-p))
|
||||||
(attributes
|
(attributes
|
||||||
(if (org-html-html5-p info) ""
|
(org-html--make-attribute-string
|
||||||
(org-html--make-attribute-string
|
(org-combine-plists
|
||||||
(org-combine-plists
|
(and label (list :id (org-export-solidify-link-text label)))
|
||||||
(and label (list :id (org-export-solidify-link-text label)))
|
(and (not (org-html-html5-p info))
|
||||||
(plist-get info :html-table-attributes)
|
(plist-get info :html-table-attributes))
|
||||||
(org-export-read-attribute :attr_html table)))))
|
(org-export-read-attribute :attr_html table))))
|
||||||
(alignspec
|
(alignspec
|
||||||
(if (and (boundp 'org-html-format-table-no-css)
|
(if (and (boundp 'org-html-format-table-no-css)
|
||||||
org-html-format-table-no-css)
|
org-html-format-table-no-css)
|
||||||
|
|
Loading…
Reference in New Issue