strip newlines in inline css for widget