Fix encode img tag's alt attirbute