checkBadTags
Check for tags that should not be in an icon. Throws on failure.
title elements are removed unless CleanupSVGOptions.keepTitles is true. Unsupported tags and namespaced custom tags (such as Inkscape junk) are silently removed, while bad or unknown elements, nested <svg> and invalid parent/child combinations throw an error.