trim empty lines in erb template