Make image tag html compliant.