Thread: Properly close tags and set alt attribute

Properly close tags and set alt attribute

From
Daniel Gustafsson
Date:
Noticed that we had some <img> tags that weren’t closed with <img ..  />, which
is illegal in XHTML (it is however legal in HTML).  The attached patch closes
all tags I found, and sets the missing alt=“” attributes on them where
applicable.

cheers ./daniel


Attachment

Re: Properly close tags and set alt attribute

From
Magnus Hagander
Date:


On Tue, Jan 30, 2018 at 4:31 PM, Daniel Gustafsson <daniel@yesql.se> wrote:
Noticed that we had some <img> tags that weren’t closed with <img ..  />, which
is illegal in XHTML (it is however legal in HTML).  The attached patch closes
all tags I found, and sets the missing alt=“” attributes on them where
applicable.

Applied, thanks. 

--