fixed non-closed tags
Added grouping by type
Copy