[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] extra paragraph in image export?

From: Nicolas Goaziou
Subject: Re: [O] extra paragraph in image export?
Date: Wed, 25 Jan 2017 14:13:09 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)


Matt Price <address@hidden> writes:

> I'm not sure. Doesn't look like it to me -- I would instead have put:
> -        (format "\n<p>%s</p>" contents)
> +        (format "\n%s" contents)
> Because we never want the <p> tag inside the figure. Isn't that right?

I don't think so. When `org-html-html5-fancy' is non-nil, "ox-html.el"
uses <p> tags to separate image and caption. 

Moreover, there is no <figure> in that case, but a <div
class=\"figure\">. Can't this contain a <p> block element?


Nicolas Goaziou

reply via email to

[Prev in Thread] Current Thread [Next in Thread]