Cross-browser styling and fix for XHR responseType='json' on IE
Handle collapsible leading \n in diff