only add return if node ends with text (disallow double returns)