Escape html from exception string