toHtml: attrs escaping test

close #64