syntax highlighting needs newlines and spaces removed