templates: fix class attribute on svg node, fixes #106