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

This commit is contained in:
Adam Goldsmith 2019-01-05 09:09:57 -05:00
parent 2ad02f9b0b
commit 1819195e50

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>