math expressions may come in through renderUI()/uiOutput(), in which case we have to re-typeset the math expressions
white spaces