remove image markup