trim trailing spaces from zepu pageLayout