new top level tags are added with the correct highlight