Fix evaluation on subsequent svg elements to use correct namespace. Fixing issue https://github.com/sveltejs/svelte/issues/130

pull/132/head
Ant Stanley 9 years ago
parent 29a81cb291
commit 39090c3535

@ -13,7 +13,7 @@ export default {
const local = {
name,
namespace: name === 'svg' ? 'http://www.w3.org/2000/svg' : generator.current.namespace,
namespace: name.substring(0,3) === 'svg' ? 'http://www.w3.org/2000/svg' : generator.current.namespace,
isComponent: false,
allUsedContexts: new Set(),

Loading…
Cancel
Save