Strip "<?xml ..." header from SVG template files

This commit is contained in:
Adam Goldsmith 2019-01-05 09:09:57 -05:00
parent a692a22a12
commit 9ad1329962

View File

@ -19,8 +19,15 @@
data() {
return {
template: templates['deck'],
props: propTypes[this.type],
}
},
computed: {
template() {
return templates[this.type]
.replace('<?xml version="1.0" encoding="UTF-8"?>\n', '');
},
},
}
</script>