Ammendments to the API wrapper to include white list of allowable HTML tags