strip newlines from adhoc view definitions