remove tail from img tags
remove / from img tags