Fixes insertion of html

[#613](https://trello.com/card/sales-editor-treasury-editing-cannot-sell-without-these-fixes/4edf804c8dc852be774fbd18/613)