Fixes html attributes.