Img tag getting removed in views drupal 8 I am trying to rewrite the results of a field to include an img tag.
The first part of the tag then gets stripped, the second part stays:

&lt;img src="http://example.com alt="Image" /&gt; results in alt="Image" /&gt;.


What is causing it and what will be work around for it.
I was using wrong image formatter . Instead of rendering the image the image tag was being rendered.