On Tue, Mar 19, 2013 at 1:49 PM, Bastien <b...@altern.org> wrote: > Hi John, > > John Hendy <jw.he...@gmail.com> writes: > >> Thanks for the clarification, though regardless of the current >> state... what is the consensus on what it *should* be? The old lingo >> was: >> - #+attr_latex: width=Xcm >> - #+attr_html: width="Xpx" > > ... and the new lingo is > > #+attr_latex: :width Xcm > #+attr_html: :width Xpx > > for images. Images allow :width :height :alt attributes, while other > elements like links and tables allow only the :options attribute.
Upon fresh pull to Org-mode version 8.0-pre (release_8.0-pre-146-g73fe0a), I confirm that =#+attr_html: :width value= works as described above. Thanks! John > > I updated ox-html.el so that it respects this syntax. > > Nicolas, would it be okay to make > > (org-export-read-attribute :attr_html element) > > return "title=\"Title\"" instead of nil when the element's attributes > are like this > > #+attr_html: title="Title" > > ? > > Thanks, > > -- > Bastien