trims post formats