Some images' tags in description aren't self closing

Avatar image for omarahmad293
omarahmad293

2

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#1  Edited By omarahmad293

In the description field, some <img> tags have no forward slash at the end.

This is an example from the description of Barry Allen character using the API.

<img alt=\"The Flash!\" src=\"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" sizes=\"(max-width: 417px) 100vw, 417px\" data-width=\"417\" class=\"js-lazy-load-image\" data-src=\"https://comicvine1.cbsistatic.com/uploads/original/0/5634/134903-62343-barry-allen.jpg\" data-srcset=\"https://comicvine1.cbsistatic.com/uploads/original/0/5634/134903-62343-barry-allen.jpg 326w\">

Avatar image for kalel1938
kalel1938

12

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

img element in HTML doesn't have an end tag. So <img src="xx.jpg" alt="" > is correct markup. XHTML does but the markup here is just vanilla HTML.