Strip "<?xml ..." header from SVG template files
This commit is contained in:
parent
a692a22a12
commit
9ad1329962
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user