replace \r\n by \n,
replace tabs by spaces,
add some properties