Fixes conditions in HTML code that that can cause email display issues.