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:
David Maus 2011-03-15 21:18:40 +01:00
parent f4387417c4
commit c295c09fb2
1 changed files with 1 additions and 1 deletions

View File

@ -1838,7 +1838,7 @@ lang=\"%s\" xml:lang=\"%s\">
(concat
(if caption
(format "%s@<div %sclass=\"figure\">
<p>"
@<p>"
(if org-par-open "@</p>\n" "")
(if label (format "id=\"%s\" " (org-solidify-link-text label)) "")))
(format "@<img src=\"%s\"%s />"