Fix diff css style, hooks \r char