bug fix convert of dumped view to an html safe string