Since future versions of SVG may add more text elements, I like your function that blacklists shape elements better than the one that whitelists text elements.
Since future versions of SVG may add more text elements, I like your function that blacklists shape elements better than the one that whitelists text elements.