Another algo collecting allowed/disallowed tags/attrs