moved content formatting to server side only