remove media tag in link