Text can be centered and removes trailing whitespace