Add code to rewrite inline styles