Ignore SVG elements and their children when inspecting.
Fix a bug where invalid attributes on invalid elements were throwing an error. Closes #2.