Fix flashes, unescape html in template param