Fix view emission to not add extra whitespace