Added support for keeping white space when you add/edit an item.