allow triples to work inside SVG elements (fixes #551)