Fixed issue with purchase history encoding the HTML and adding micro data. #909