Protect <p> element of image caption.
* org-html.el (org-export-html-format-image): Protect <p> element of
image caption.
Follow up of 1052f07ecf
, forgot a <p>
element.
This commit is contained in:
parent
f4387417c4
commit
c295c09fb2
|
@ -1838,7 +1838,7 @@ lang=\"%s\" xml:lang=\"%s\">
|
||||||
(concat
|
(concat
|
||||||
(if caption
|
(if caption
|
||||||
(format "%s@<div %sclass=\"figure\">
|
(format "%s@<div %sclass=\"figure\">
|
||||||
<p>"
|
@<p>"
|
||||||
(if org-par-open "@</p>\n" "")
|
(if org-par-open "@</p>\n" "")
|
||||||
(if label (format "id=\"%s\" " (org-solidify-link-text label)) "")))
|
(if label (format "id=\"%s\" " (org-solidify-link-text label)) "")))
|
||||||
(format "@<img src=\"%s\"%s />"
|
(format "@<img src=\"%s\"%s />"
|
||||||
|
|
Loading…
Reference in New Issue