ox-html: Change footpara wrapper
* ox-html.el (org-html-footnote-section): Wrap footnote definitions content in a div rather than a p. p is a bad element to use for a wrapper as it can neither contain other p elements nor tables. (org-html-style-default): Change .footpara to inline display style. Reported-by: OSiUX <xuiso@osiux.com.ar> <http://permalink.gmane.org/gmane.emacs.orgmode/98984>
This commit is contained in:
parent
4baf015ab4
commit
fd990a81e3
|
@ -334,8 +334,7 @@ for the JavaScript code in this tag.
|
|||
td.org-left { text-align: left; }
|
||||
td.org-center { text-align: center; }
|
||||
dt { font-weight: bold; }
|
||||
.footpara:nth-child(2) { display: inline; }
|
||||
.footpara { display: block; }
|
||||
.footpara { display: inline; }
|
||||
.footdef { margin-bottom: 1em; }
|
||||
.figure { padding: 1em; }
|
||||
.figure p { text-align: center; }
|
||||
|
@ -1649,7 +1648,7 @@ INFO is a plist used as a communication channel."
|
|||
(loop for (n type raw) in fn-alist collect
|
||||
(cons n (if (eq (org-element-type raw) 'org-data)
|
||||
(org-trim (org-export-data raw info))
|
||||
(format "<p class=\"footpara\">%s</p>"
|
||||
(format "<div class=\"footpara\">%s</div>"
|
||||
(org-trim (org-export-data raw info))))))))
|
||||
(when fn-alist
|
||||
(format
|
||||
|
|
Loading…
Reference in New Issue