todo display whitespace fix

currently an item data stored with multiple whitespace in-between words is rendered as having only one space. Putting css `white-space: pre` fixes this.