Remove newlines when using tmserver