Debug html tag parsing

tag with attributes were not correctly parsed