Thank you! On Sat, Jan 7, 2017, 9:50 AM Nicolas Goaziou wrote: > Hello, > > Kaushal Modi writes: > > > I believe that after this commit, the width attribute doesn't get added > to > > img tag as expected: > > > http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=5ffb373a2ca6833617e344154c3dc1b877ec4784 > > > > Here is a MWE: > > > > ===== > > Below works as expected > > #+ATTR_HTML: :width 10px > > [[http://orgmode.org/img/org-mode-unicorn-logo.png]] > > > > Below does not where the image is added as /link description/. > > #+ATTR_HTML: :width 10px > > [[http://orgmode.org][http://orgmode.org/img/org-mode-unicorn-logo.png]] > > ===== > > > > Here is just the body of the exported html for brevity: > > > > ===== > > > >
> >

> > Below works as expected > >

> > > >
> >

> alt="org-mode-unicorn-logo.png" width="10px" /> > >

> >
> > > >

> > Below does not where the image is added as link description. > >

> > > > > >
> >
> > Exported using
Emacs 26.0.50.4 (Org mode 9.0.3)
by Kaushal.Modi. > >
> > > > ===== > > > > Note that in the latter case, the width property gets added to 'a' tag > > instead of to the 'img' tag. > > Fixed. Thank you. > > > Regards, > > -- > Nicolas Goaziou > -- Kaushal Modi