reverted to original markup for images