Properly close <img> tags and set alt attribute

Поиск
Список
Период
Сортировка
Искать

Properly close <img> tags and set alt attribute

От:
Daniel Gustafsson <daniel@yesql.se>
Дата:
Вложения:
Noticed that we had some  tags that weren’t closed with , 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

Re: Properly close <img> tags and set alt attribute

От:
Magnus Hagander <magnus@hagander.net>
Дата:


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. 

--
FAQ