added html tag matching