Strip "<?xml ..." header from SVG template files
This commit is contained in:
parent
2ad02f9b0b
commit
1819195e50
@ -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